diff options
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 2c9ea69..63af3b1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -121,12 +121,12 @@ MainWindow::MainWindow(TQWidget *parent, const char *name) setStandardToolBarMenuEnabled(true); createGUI("basketui.rc"); - applyMainWindowSettings(KGlobal::config(), autoSaveGroup()); + applyMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); } MainWindow::~MainWindow() { - saveMainWindowSettings(KGlobal::config(), autoSaveGroup()); + saveMainWindowSettings(TDEGlobal::config(), autoSaveGroup()); delete m_settings; } @@ -158,7 +158,7 @@ void MainWindow::setupActions() else toolBar()->show(); - saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); }*/ void MainWindow::toggleStatusBar() @@ -168,12 +168,12 @@ void MainWindow::toggleStatusBar() else statusBar()->show(); - saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); } void MainWindow::configureToolbars() { - saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); KEditToolbar dlg(actionCollection()); connect( &dlg, TQT_SIGNAL(newToolbarConfig()), this, TQT_SLOT(slotNewToolbarConfig()) ); @@ -194,7 +194,7 @@ void MainWindow::slotNewToolbarConfig() // This is called when OK or Apply is cl if (!Global::bnpView->isPart()) Global::bnpView->connectTagsMenu(); // The Tags menu was created again! plugActionList( TQString::fromLatin1("go_baskets_list"), actBasketsList); - applyMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + applyMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); } void MainWindow::showSettingsDialog() @@ -259,7 +259,7 @@ void MainWindow::resizeEvent(TQResizeEvent *event) Settings::saveConfig(); // Added to make it work (previous lines do not work): - //saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + //saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); KMainWindow::resizeEvent(event); } @@ -270,7 +270,7 @@ void MainWindow::moveEvent(TQMoveEvent *event) Settings::saveConfig(); // Added to make it work (previous lines do not work): - //saveMainWindowSettings( KGlobal::config(), autoSaveGroup() ); + //saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() ); KMainWindow::moveEvent(event); } |