diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:50:21 -0600 |
commit | 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch) | |
tree | 89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kmail/kmsystemtray.cpp | |
parent | 1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff) | |
download | tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r-- | kmail/kmsystemtray.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp index d7bba197b..3a1ab1ab5 100644 --- a/kmail/kmsystemtray.cpp +++ b/kmail/kmsystemtray.cpp @@ -67,7 +67,7 @@ KMSystemTray::KMSystemTray(TQWidget *parent, const char *name) mNewMessagePopupId(-1), mPopupMenu(0) { - tqsetAlignment( AlignCenter ); + setAlignment( AlignCenter ); kdDebug(5006) << "Initting systray" << endl; mLastUpdate = time( 0 ); @@ -81,7 +81,7 @@ KMSystemTray::KMSystemTray(TQWidget *parent, const char *name) KMMainWidget * mainWidget = kmkernel->getKMMainWidget(); if ( mainWidget ) { - TQWidget * mainWin = mainWidget->tqtopLevelWidget(); + TQWidget * mainWin = mainWidget->topLevelWidget(); if ( mainWin ) { mDesktopOfMainWin = KWin::windowInfo( mainWin->winId(), NET::WMDesktop ).desktop(); @@ -133,7 +133,7 @@ void KMSystemTray::buildPopupMenu() action->plug( mPopupMenu ); mPopupMenu->insertSeparator(); - KMainWindow *mainWin = ::tqqt_cast<KMainWindow*>(kmkernel->getKMMainWidget()->tqtopLevelWidget()); + KMainWindow *mainWin = ::tqqt_cast<KMainWindow*>(kmkernel->getKMMainWidget()->topLevelWidget()); mPopupMenu->insertItem( SmallIcon("exit"), i18n("&Quit"), this, TQT_SLOT(maybeQuit()) ); } @@ -385,7 +385,7 @@ bool KMSystemTray::mainWindowIsOnCurrentDesktop() if ( !mainWidget ) return false; - TQWidget *mainWin = kmkernel->getKMMainWidget()->tqtopLevelWidget(); + TQWidget *mainWin = kmkernel->getKMMainWidget()->topLevelWidget(); if ( !mainWin ) return false; @@ -401,7 +401,7 @@ void KMSystemTray::showKMail() { if (!kmkernel->getKMMainWidget()) return; - TQWidget *mainWin = kmkernel->getKMMainWidget()->tqtopLevelWidget(); + TQWidget *mainWin = kmkernel->getKMMainWidget()->topLevelWidget(); assert(mainWin); if(mainWin) { @@ -429,7 +429,7 @@ void KMSystemTray::hideKMail() { if (!kmkernel->getKMMainWidget()) return; - TQWidget *mainWin = kmkernel->getKMMainWidget()->tqtopLevelWidget(); + TQWidget *mainWin = kmkernel->getKMMainWidget()->topLevelWidget(); assert(mainWin); if(mainWin) { |