summaryrefslogtreecommitdiffstats
path: root/kmail/kmsystemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r--kmail/kmsystemtray.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp
index f10faabe..3a5840a8 100644
--- a/kmail/kmsystemtray.cpp
+++ b/kmail/kmsystemtray.cpp
@@ -57,8 +57,8 @@ using KMail::AccountManager;
* with its count of unread messages, allowing the user to jump
* to the first unread message in each folder.
*/
-KMSystemTray::KMSystemTray(TQWidget *parent, const char *name)
- : KSystemTray( parent, name ),
+KMSystemTray::KMSystemTray(TQWidget *tqparent, const char *name)
+ : KSystemTray( tqparent, name ),
mParentVisible( true ),
mPosOfMainWin( 0, 0 ),
mDesktopOfMainWin( 0 ),
@@ -211,7 +211,7 @@ void KMSystemTray::updateCount()
// and which has a transparent background.
// Unfortunately this required the following twisted code because for some
// reason text that is drawn on a transparent pixmap is invisible
- // (apparently the alpha channel isn't changed when the text is drawn).
+ // (aptqparently the alpha channel isn't changed when the text is drawn).
// Therefore I have to draw the text on a solid background and then remove
// the background by making it transparent with TQPixmap::setMask. This
// involves the slow createHeuristicMask() function (from the API docs:
@@ -225,11 +225,11 @@ void KMSystemTray::updateCount()
// unread messages, but every other approach I tried failed miserably.
// IK, 2003-09-22
TQPixmap numberPixmap( oldPixmapWidth, oldPixmapHeight );
- numberPixmap.fill( Qt::white );
+ numberPixmap.fill( TQt::white );
TQPainter p( &numberPixmap );
p.setFont( countFont );
- p.setPen( Qt::blue );
- p.drawText( numberPixmap.rect(), Qt::AlignCenter, countString );
+ p.setPen( TQt::blue );
+ p.drawText( numberPixmap.rect(), TQt::AlignCenter, countString );
numberPixmap.setMask( numberPixmap.createHeuristicMask() );
TQImage numberImage = numberPixmap.convertToImage();
@@ -483,7 +483,7 @@ void KMSystemTray::updateNewMessages()
int unread = fldr->countUnread();
TQMap<TQGuardedPtr<KMFolder>, int>::Iterator it =
- mFoldersWithUnread.find(fldr);
+ mFoldersWithUnread.tqfind(fldr);
bool unmapped = (it == mFoldersWithUnread.end());
/** If the folder is not mapped yet, increment count by numUnread