summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:18:28 -0600
commit934db26c3f8efe148a5680c22f965ee10f818a61 (patch)
tree4a47cbb3ef398d11fa9283b5afdcd0a8d84fad7c /src/mainwindow.cpp
parenta1fb52e00e362130a46b34570e53f2c1f322f373 (diff)
downloadbasket-934db26c3f8efe148a5680c22f965ee10f818a61.tar.gz
basket-934db26c3f8efe148a5680c22f965ee10f818a61.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp16
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);
}