--- branches/KDE/4.3/kdeplasma-addons/applets/microblog/microblog.cpp 2009/09/12 11:44:41 1022729
+++ branches/KDE/4.3/kdeplasma-addons/applets/microblog/microblog.cpp 2009/09/29 17:15:46 1029410
@@ -381,9 +381,9 @@
//add the newbies
int newCount = 0;
- uint maxId = m_lastTweet;
+ ulong maxId = m_lastTweet;
foreach (const QString &id, data.keys()) {
- uint i = id.toUInt();
+ ulong i = id.toULong();
//kDebug() << i << m_lastTweet;
if (i > m_lastTweet) {
newCount++;
@@ -464,7 +464,7 @@
// Add more tweetWidgets if there are not enough
if (m_tweetMap.count() > m_historySize) {
- QMap<uint, Plasma::DataEngine::Data>::iterator it = m_tweetMap.begin();
+ QMap<ulong, Plasma::DataEngine::Data>::iterator it = m_tweetMap.begin();
while (it != m_tweetMap.end() && m_tweetMap.count() > m_historySize) {
it = m_tweetMap.erase(it);
}
@@ -521,7 +521,7 @@
}
int i = 0;
- QMap<uint, Plasma::DataEngine::Data>::iterator it = m_tweetMap.end();
+ QMap<ulong, Plasma::DataEngine::Data>::iterator it = m_tweetMap.end();
while (it != m_tweetMap.begin()) {
Plasma::DataEngine::Data &tweetData = *(--it);
QString user = tweetData.value("User").toString();
--- branches/KDE/4.3/kdeplasma-addons/applets/microblog/microblog.h 2009/07/07 22:51:13 992910
+++ branches/KDE/4.3/kdeplasma-addons/applets/microblog/microblog.h 2009/09/29 17:15:46 1029410
@@ -162,10 +162,10 @@
QString m_curTimeline;
QMap<QString, QPixmap> m_pictureMap;
- QMap<uint, Plasma::DataEngine::Data> m_tweetMap;
+ QMap<ulong, Plasma::DataEngine::Data> m_tweetMap;
QList<Tweet> m_tweetWidgets;
- uint m_lastTweet;
+ ulong m_lastTweet;
KWallet::Wallet *m_wallet;
enum WalletWait { None=0, Read, Write };
WalletWait m_walletWait;