summaryrefslogtreecommitdiffstats
path: root/systemsettings/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:34:02 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:34:02 -0600
commitb5b62ae9b3c8396bb74d76a125f1a9349e8b1233 (patch)
tree3ad39c072d291299b6d8b8a49f872ecf80b61f1c /systemsettings/mainwindow.cpp
parentf191e6da45dcd3fe7c95f4791e75ea6106e4fc68 (diff)
downloadtde-systemsettings-b5b62ae9b3c8396bb74d76a125f1a9349e8b1233.tar.gz
tde-systemsettings-b5b62ae9b3c8396bb74d76a125f1a9349e8b1233.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'systemsettings/mainwindow.cpp')
-rw-r--r--systemsettings/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/systemsettings/mainwindow.cpp b/systemsettings/mainwindow.cpp
index 0c21736..1852b0c 100644
--- a/systemsettings/mainwindow.cpp
+++ b/systemsettings/mainwindow.cpp
@@ -28,7 +28,7 @@
#include <tqtoolbutton.h>
#include <klocale.h>
#include <kservicegroup.h>
-#include <tqlayout.h>
+#include <layout.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(tqsizeHint());
+ TQSize newSize = currentSize.expandedTo(sizeHint());
// 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").tqarg(
+ aboutModuleAction->setText(i18n("Help menu->about <modulename>", "About %1").arg(
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]).tqarg(hitList[0]));
+ generalHitLabel->setText(i18n("%1 hit in General","%1 hits in General",hitList[0]).arg(hitList[0]));
}
if(length>=2) {
- advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).tqarg(hitList[1]));
+ advancedHitLabel->setText(i18n("%1 hit in Advanced","%1 hits in Advanced",hitList[1]).arg(hitList[1]));
}
}