diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-26 18:42:01 +0900 |
commit | 2a3a62bb995b73481a8a64658266adf22e523f7b (patch) | |
tree | 17e63d11e590bd93137dee185ff1342873f4ddea /tdeui/tdemainwindow.cpp | |
parent | af8caeadf368a17dabd9f53d4c661213c840eebd (diff) | |
download | tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
Diffstat (limited to 'tdeui/tdemainwindow.cpp')
-rw-r--r-- | tdeui/tdemainwindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdemainwindow.cpp b/tdeui/tdemainwindow.cpp index 052382851..9905d2991 100644 --- a/tdeui/tdemainwindow.cpp +++ b/tdeui/tdemainwindow.cpp @@ -433,7 +433,7 @@ bool TDEMainWindow::restore( int number, bool show ) KXMLGUIFactory *TDEMainWindow::guiFactory() { if ( !factory_ ) - factory_ = new KXMLGUIFactory( this, TQT_TQOBJECT(this), "guifactory" ); + factory_ = new KXMLGUIFactory( this, this, "guifactory" ); return factory_; } @@ -467,7 +467,7 @@ void TDEMainWindow::setupGUI( TQSize defaultSize, int options, const TQString & if( options & ToolBar ){ setStandardToolBarMenuEnabled( true ); - KStdAction::configureToolbars(TQT_TQOBJECT(this), + KStdAction::configureToolbars(this, TQT_SLOT(configureToolbars() ), actionCollection()); } @@ -804,7 +804,7 @@ bool TDEMainWindow::isStandardToolBarMenuEnabled() const void TDEMainWindow::createStandardStatusBarAction(){ if(!d->showStatusBarAction){ - d->showStatusBarAction = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(setSettingsDirty()), actionCollection()); + d->showStatusBarAction = KStdAction::showStatusbar(this, TQT_SLOT(setSettingsDirty()), actionCollection()); KStatusBar *sb = statusBar(); // Creates statusbar if it doesn't exist already. connect(d->showStatusBarAction, TQT_SIGNAL(toggled(bool)), sb, TQT_SLOT(setShown(bool))); d->showStatusBarAction->setChecked(sb->isHidden()); |