diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 12 |
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() |