diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-14 21:19:09 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-15 11:44:14 +0900 |
commit | 50245e3df9d78cdd42e9551fb32a3ea032434b0e (patch) | |
tree | fc0ca43d4b1e690730e54765a97263c0c25f290e /src/mainwindow.cpp | |
parent | b70474e0dea4405c89c44d798dad759bd7e5d7a9 (diff) | |
download | basket-50245e3df9d78cdd42e9551fb32a3ea032434b0e.tar.gz basket-50245e3df9d78cdd42e9551fb32a3ea032434b0e.zip |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7b0920cd4180823f7a42350d1bdb914d697f4b9c)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 78b3c7d..1c2b72d 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -139,23 +139,23 @@ MainWindow::~MainWindow() void MainWindow::setupActions() { - actQuit = KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT(quit()), actionCollection() ); + actQuit = KStdAction::quit( this, TQT_SLOT(quit()), actionCollection() ); new TDEAction(i18n("Minimize"), "", 0, - TQT_TQOBJECT(this), TQT_SLOT(minimizeRestore()), actionCollection(), "minimizeRestore" ); + this, TQT_SLOT(minimizeRestore()), actionCollection(), "minimizeRestore" ); /** Settings : ************************************************************/ -// m_actShowToolbar = KStdAction::showToolbar( TQT_TQOBJECT(this), TQT_SLOT(toggleToolBar()), actionCollection()); - m_actShowStatusbar = KStdAction::showStatusbar( TQT_TQOBJECT(this), TQT_SLOT(toggleStatusBar()), actionCollection()); +// m_actShowToolbar = KStdAction::showToolbar( this, TQT_SLOT(toggleToolBar()), actionCollection()); + m_actShowStatusbar = KStdAction::showStatusbar( this, TQT_SLOT(toggleStatusBar()), actionCollection()); // m_actShowToolbar->setCheckedState( KGuiItem(i18n("Hide &Toolbar")) ); - (void) KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT(showShortcutsSettingsDialog()), actionCollection() ); + (void) KStdAction::keyBindings( this, TQT_SLOT(showShortcutsSettingsDialog()), actionCollection() ); - (void) KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureToolbars()), actionCollection() ); + (void) KStdAction::configureToolbars(this, TQT_SLOT(configureToolbars()), actionCollection() ); //TDEAction *actCfgNotifs = KStdAction::configureNotifications(this, TQT_SLOT(configureNotifications()), actionCollection() ); //actCfgNotifs->setEnabled(false); // Not yet implemented ! - actAppConfig = KStdAction::preferences( TQT_TQOBJECT(this), TQT_SLOT(showSettingsDialog()), actionCollection() ); + actAppConfig = KStdAction::preferences( this, TQT_SLOT(showSettingsDialog()), actionCollection() ); } /*void MainWindow::toggleToolBar() @@ -207,7 +207,7 @@ void MainWindow::slotNewToolbarConfig() // This is called when OK or Apply is cl void MainWindow::showSettingsDialog() { if(m_settings == 0) - m_settings = new KSettings::Dialog(TQT_TQWIDGET(kapp->activeWindow())); + m_settings = new KSettings::Dialog(kapp->activeWindow()); if (Global::mainWindow()) { m_settings->dialog()->showButton(KDialogBase::Help, false); // Not implemented! m_settings->dialog()->showButton(KDialogBase::Default, false); // Not implemented! |