diff options
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r-- | src/mainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index dabecb1..0e8b5b9 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -111,7 +111,7 @@ MainWindow::MainWindow(TQWidget *parent, const char *name) statusBar()->show(); statusBar()->setSizeGripEnabled(true); - setAutoSaveSettings(/*groupName=*/TQString::tqfromLatin1("MainWindow"), /*saveWindowSize=*//*FIXME:false:Why was it false??*/true); + setAutoSaveSettings(/*groupName=*/TQString::fromLatin1("MainWindow"), /*saveWindowSize=*//*FIXME:false:Why was it false??*/true); // m_actShowToolbar->setChecked( toolBar()->isShown() ); m_actShowStatusbar->setChecked( statusBar()->isShown() ); @@ -193,7 +193,7 @@ void MainWindow::slotNewToolbarConfig() // This is called when OK or Apply is cl createGUI("basketui.rc"); // TODO: Reconnect tags menu aboutToShow() ?? if (!Global::bnpView->isPart()) Global::bnpView->connectTagsMenu(); // The Tags menu was created again! - plugActionList( TQString::tqfromLatin1("go_baskets_list"), actBasketsList); + plugActionList( TQString::fromLatin1("go_baskets_list"), actBasketsList); applyMainWindowSettings( KGlobal::config(), autoSaveGroup() ); } @@ -221,13 +221,13 @@ void MainWindow::polish() bool shouldSave = false; // If position and size has never been set, set nice ones: - // - Set size to tqsizeHint() + // - Set size to sizeHint() // - Keep the window manager placing the window where it want and save this if (Settings::mainWindowSize().isEmpty()) { // std::cout << "Main Window Position: Initial Set in show()" << std::endl; int defaultWidth = kapp->desktop()->width() * 5 / 6; int defaultHeight = kapp->desktop()->height() * 5 / 6; - resize(defaultWidth, defaultHeight); // tqsizeHint() is bad (too small) and we want the user to have a good default area size + resize(defaultWidth, defaultHeight); // sizeHint() is bad (too small) and we want the user to have a good default area size shouldSave = true; } else { // std::cout << "Main Window Position: Recall in show(x=" |