From b5b62ae9b3c8396bb74d76a125f1a9349e8b1233 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:34:02 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- systemsettings/mainwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'systemsettings/mainwindow.cpp') 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 #include #include -#include +#include #include #include #include @@ -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 ", "About %1").tqarg( + aboutModuleAction->setText(i18n("Help menu->about ", "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])); } } -- cgit v1.2.1