diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 1dcbbe821d337f155c5835aa372db3cadcc31ed8 (patch) | |
tree | a0b305d9d9334acfe296542840e8e05fbc63bae9 /kdeui/ksystemtray.cpp | |
parent | 9c49a74a165b8535c28ccbb2fad37334989b2fc7 (diff) | |
download | tdelibs-1dcbbe821d337f155c5835aa372db3cadcc31ed8.tar.gz tdelibs-1dcbbe821d337f155c5835aa372db3cadcc31ed8.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/ksystemtray.cpp')
-rw-r--r-- | kdeui/ksystemtray.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdeui/ksystemtray.cpp b/kdeui/ksystemtray.cpp index c9bebc47d..f0586ab28 100644 --- a/kdeui/ksystemtray.cpp +++ b/kdeui/ksystemtray.cpp @@ -77,13 +77,13 @@ KSystemTray::KSystemTray( TQWidget* parent, const char* name ) move( -1000, -1000 ); KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(maybeQuit()), d->actionCollection); - if (tqparentWidget()) + if (parentWidget()) { new KAction(i18n("Minimize"), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( minimizeRestoreAction() ), d->actionCollection, "minimizeRestore"); #ifdef Q_WS_X11 - KWin::WindowInfo info = KWin::windowInfo( tqparentWidget()->winId()); + KWin::WindowInfo info = KWin::windowInfo( parentWidget()->winId()); d->on_all_desktops = info.onAllDesktops(); #else d->on_all_desktops = false; @@ -152,9 +152,9 @@ void KSystemTray::mousePressEvent( TQMouseEvent *e ) case Qt::MidButton: // fall through case Qt::RightButton: - if ( tqparentWidget() ) { + if ( parentWidget() ) { KAction* action = d->actionCollection->action("minimizeRestore"); - if ( tqparentWidget()->isVisible() ) + if ( parentWidget()->isVisible() ) action->setText( i18n("&Minimize") ); else action->setText( i18n("&Restore") ); @@ -182,8 +182,8 @@ void KSystemTray::contextMenuAboutToShow( KPopupMenu* ) // entry is "minimize", otherwise it's "restore" void KSystemTray::minimizeRestoreAction() { - if ( tqparentWidget() ) { - bool restore = !( tqparentWidget()->isVisible() ); + if ( parentWidget() ) { + bool restore = !( parentWidget()->isVisible() ); minimizeRestore( restore ); } } @@ -207,9 +207,9 @@ void KSystemTray::maybeQuit() // KDE4: stop closing the parent widget? it results in complex application code // instead make applications connect to the quitSelected() signal - if (tqparentWidget()) + if (parentWidget()) { - tqparentWidget()->close(); + parentWidget()->close(); } else { @@ -237,7 +237,7 @@ void KSystemTray::setInactive() // (just like taskbar); otherwise hide it void KSystemTray::activateOrHide() { - TQWidget *pw = tqparentWidget(); + TQWidget *pw = parentWidget(); if ( !pw ) return; @@ -283,7 +283,7 @@ void KSystemTray::activateOrHide() void KSystemTray::minimizeRestore( bool restore ) { - TQWidget* pw = tqparentWidget(); + TQWidget* pw = parentWidget(); if( !pw ) return; #ifdef Q_WS_X11 |