summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 14:58:21 -0600
commit7864df7a5e0a69bb3e525ec3e47256bdcbf2832b (patch)
tree3aa53b371fc2482fb6bea9f8eca16b9524c1b332 /src/mainwindow.cpp
parent3cedb6a5f7a9c3e0c04303289e025ce6fe91e164 (diff)
downloadbasket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.tar.gz
basket-7864df7a5e0a69bb3e525ec3e47256bdcbf2832b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 2f6b9fb..df98554 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -101,7 +101,7 @@
/** Container */
MainWindow::MainWindow(TQWidget *parent, const char *name)
- : KMainWindow(parent, name != 0 ? name : "MainWindow"), m_settings(0), m_quit(false)
+ : TDEMainWindow(parent, name != 0 ? name : "MainWindow"), m_settings(0), m_quit(false)
{
BasketStatusBar* bar = new BasketStatusBar(statusBar());
m_baskets = new BNPView(this, "BNPViewApp", this, actionCollection(), bar);
@@ -133,7 +133,7 @@ MainWindow::~MainWindow()
void MainWindow::setupActions()
{
actQuit = KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT(quit()), actionCollection() );
- new KAction(i18n("Minimize"), "", 0,
+ new TDEAction(i18n("Minimize"), "", 0,
TQT_TQOBJECT(this), TQT_SLOT(minimizeRestore()), actionCollection(), "minimizeRestore" );
/** Settings : ************************************************************/
// m_actShowToolbar = KStdAction::showToolbar( TQT_TQOBJECT(this), TQT_SLOT(toggleToolBar()), actionCollection());
@@ -145,7 +145,7 @@ void MainWindow::setupActions()
(void) KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureToolbars()), actionCollection() );
- //KAction *actCfgNotifs = KStdAction::configureNotifications(this, TQT_SLOT(configureNotifications()), 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() );
@@ -238,7 +238,7 @@ void MainWindow::polish()
//resize(Settings::mainWindowSize());
}
- KMainWindow::polish();
+ TDEMainWindow::polish();
if (shouldSave) {
// std::cout << "Main Window Position: Save size and position in show(x="
@@ -260,7 +260,7 @@ void MainWindow::resizeEvent(TQResizeEvent *event)
// Added to make it work (previous lines do not work):
//saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
- KMainWindow::resizeEvent(event);
+ TDEMainWindow::resizeEvent(event);
}
void MainWindow::moveEvent(TQMoveEvent *event)
@@ -271,7 +271,7 @@ void MainWindow::moveEvent(TQMoveEvent *event)
// Added to make it work (previous lines do not work):
//saveMainWindowSettings( TDEGlobal::config(), autoSaveGroup() );
- KMainWindow::moveEvent(event);
+ TDEMainWindow::moveEvent(event);
}
bool MainWindow::queryExit()