summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:28:49 +0900
commitbea15ca3009c2f8505bfa10445c1dc2fc43a4ffe (patch)
tree8911427e76b2ea1dc7d98cf2a9a0f2da987802b5 /src/mainwindow.cpp
parent7b0920cd4180823f7a42350d1bdb914d697f4b9c (diff)
downloadbasket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.tar.gz
basket-bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 1c2b72d..e2e63a9 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -122,7 +122,7 @@ MainWindow::MainWindow(TQWidget *parent, const char *name)
setAutoSaveSettings(/*groupName=*/TQString::fromLatin1("MainWindow"),true);
m_actShowStatusbar->setChecked( statusBar()->isShown() );
- connect( m_baskets, TQT_SIGNAL(setWindowCaption(const TQString &)), this, TQT_SLOT(setCaption(const TQString &)));
+ connect( m_baskets, TQ_SIGNAL(setWindowCaption(const TQString &)), this, TQ_SLOT(setCaption(const TQString &)));
// InlineEditors::instance()->richTextToolBar();
setStandardToolBarMenuEnabled(true);
@@ -139,23 +139,23 @@ MainWindow::~MainWindow()
void MainWindow::setupActions()
{
- actQuit = KStdAction::quit( this, TQT_SLOT(quit()), actionCollection() );
+ actQuit = KStdAction::quit( this, TQ_SLOT(quit()), actionCollection() );
new TDEAction(i18n("Minimize"), "", 0,
- this, TQT_SLOT(minimizeRestore()), actionCollection(), "minimizeRestore" );
+ this, TQ_SLOT(minimizeRestore()), actionCollection(), "minimizeRestore" );
/** Settings : ************************************************************/
-// m_actShowToolbar = KStdAction::showToolbar( this, TQT_SLOT(toggleToolBar()), actionCollection());
- m_actShowStatusbar = KStdAction::showStatusbar( this, TQT_SLOT(toggleStatusBar()), actionCollection());
+// m_actShowToolbar = KStdAction::showToolbar( this, TQ_SLOT(toggleToolBar()), actionCollection());
+ m_actShowStatusbar = KStdAction::showStatusbar( this, TQ_SLOT(toggleStatusBar()), actionCollection());
// m_actShowToolbar->setCheckedState( KGuiItem(i18n("Hide &Toolbar")) );
- (void) KStdAction::keyBindings( this, TQT_SLOT(showShortcutsSettingsDialog()), actionCollection() );
+ (void) KStdAction::keyBindings( this, TQ_SLOT(showShortcutsSettingsDialog()), actionCollection() );
- (void) KStdAction::configureToolbars(this, TQT_SLOT(configureToolbars()), actionCollection() );
+ (void) KStdAction::configureToolbars(this, TQ_SLOT(configureToolbars()), actionCollection() );
- //TDEAction *actCfgNotifs = KStdAction::configureNotifications(this, TQT_SLOT(configureNotifications()), actionCollection() );
+ //TDEAction *actCfgNotifs = KStdAction::configureNotifications(this, TQ_SLOT(configureNotifications()), actionCollection() );
//actCfgNotifs->setEnabled(false); // Not yet implemented !
- actAppConfig = KStdAction::preferences( this, TQT_SLOT(showSettingsDialog()), actionCollection() );
+ actAppConfig = KStdAction::preferences( this, TQ_SLOT(showSettingsDialog()), actionCollection() );
}
/*void MainWindow::toggleToolBar()
@@ -183,7 +183,7 @@ void MainWindow::configureToolbars()
saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
KEditToolbar dlg(actionCollection());
- connect( &dlg, TQT_SIGNAL(newToolbarConfig()), this, TQT_SLOT(slotNewToolbarConfig()) );
+ connect( &dlg, TQ_SIGNAL(newToolbarConfig()), this, TQ_SLOT(slotNewToolbarConfig()) );
dlg.exec();
}