summaryrefslogtreecommitdiffstats
path: root/systemsettings/mainwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:57:43 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:57:43 -0600
commite3656c08ed309001cb7275441296682cadbeb160 (patch)
treeebf3829f6531564528c3be5d411b7d8e7443b634 /systemsettings/mainwindow.cpp
parentb5b62ae9b3c8396bb74d76a125f1a9349e8b1233 (diff)
downloadtde-systemsettings-e3656c08ed309001cb7275441296682cadbeb160.tar.gz
tde-systemsettings-e3656c08ed309001cb7275441296682cadbeb160.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit b5b62ae9b3c8396bb74d76a125f1a9349e8b1233.
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 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]));
}
}