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-06 19:52:52 +0900
commit31622296062e9eaafb3429eb84f8780fab22e597 (patch)
tree7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/mainwindow.cpp
parent50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff)
downloadbasket-31622296062e9eaafb3429eb84f8780fab22e597.tar.gz
basket-31622296062e9eaafb3429eb84f8780fab22e597.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
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();
}