diff options
Diffstat (limited to 'systemsettings/mainwindow.cpp')
-rw-r--r-- | systemsettings/mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/systemsettings/mainwindow.cpp b/systemsettings/mainwindow.cpp index 1852b0c..0c21736 100644 --- a/systemsettings/mainwindow.cpp +++ b/systemsettings/mainwindow.cpp @@ -28,7 +28,7 @@ #include <tqtoolbutton.h> #include <klocale.h> #include <kservicegroup.h> -#include <layout.h> +#include <tqlayout.h> #include <tqwidgetstack.h> #include <tqtimer.h> #include <kiconloader.h> @@ -289,7 +289,7 @@ void MainWindow::slotItemSelected( TQIconViewItem *item ){ void MainWindow::timerResize() { TQSize currentSize = size(); - TQSize newSize = currentSize.expandedTo(sizeHint()); + TQSize newSize = currentSize.expandedTo(tqsizeHint()); // Avoid resizing if possible. if(newSize!=currentSize) { resize(newSize); @@ -298,7 +298,7 @@ void MainWindow::timerResize() { void MainWindow::updateModuleHelp( KCModuleProxy *currentModule ) { if ( currentModule->aboutData() ) { - aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").arg( + aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").tqarg( currentModule->moduleInfo().moduleName().replace("&","&&"))); aboutModuleAction->setIcon(currentModule->moduleInfo().icon()); aboutModuleAction->setEnabled(true); @@ -349,11 +349,11 @@ void MainWindow::slotSearchHits(const TQString &query, int *hitList, int length) } else { if(length>=1) { - generalHitLabel->setText(i18n("%1 hit in General","%1 hits in General",hitList[0]).arg(hitList[0])); + generalHitLabel->setText(i18n("%1 hit in General","%1 hits in General",hitList[0]).tqarg(hitList[0])); } if(length>=2) { - advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).arg(hitList[1])); + advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).tqarg(hitList[1])); } } |