From 2b7143e0539396c75306f6e78bf0a5641ed1acfc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:29:45 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- src/app/configdialog.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/app/configdialog.cpp') diff --git a/src/app/configdialog.cpp b/src/app/configdialog.cpp index 0fb33df..66b11e8 100644 --- a/src/app/configdialog.cpp +++ b/src/app/configdialog.cpp @@ -22,13 +22,13 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // TQt #include #include -#include +#include #include #include #include #include -#include -#include +#include +#include // KDE #include @@ -93,9 +93,9 @@ template void addConfigPage(KDialogBase* dialog, T* content, const TQString& header, const TQString& name, const char* iconName) { TQFrame* page=dialog->addPage(name, header, BarIcon(iconName, 32)); content->reparent(page, TQPoint(0,0)); - TQVBoxLayout* tqlayout=new TQVBoxLayout(page, 0, KDialog::spacingHint()); - tqlayout->addWidget(content); - tqlayout->addStretch(); + TQVBoxLayout* layout=new TQVBoxLayout(page, 0, KDialog::spacingHint()); + layout->addWidget(content); + layout->addStretch(); } template @@ -247,7 +247,7 @@ void ConfigDialog::calculateCacheSize() { KURL url; url.setPath(ThumbnailLoadJob::thumbnailBaseDir()); unsigned long size=KDirSize::dirSize(url); - KMessageBox::information( this,i18n("Cache size is %1").tqarg(KIO::convertSize(size)) ); + KMessageBox::information( this,i18n("Cache size is %1").arg(KIO::convertSize(size)) ); } @@ -281,7 +281,7 @@ void ConfigDialog::emptyCache() { int response=KMessageBox::warningContinueCancel(this, "" + i18n("Are you sure you want to empty the thumbnail cache?" - " This will delete the folder %1.").tqarg(TQStyleSheet::escape(dir)) + "", + " This will delete the folder %1.").arg(TQStyleSheet::escape(dir)) + "", TQString(), KStdGuiItem::del()); @@ -289,7 +289,7 @@ void ConfigDialog::emptyCache() { KURL url; url.setPath(dir); - if (KIO::NetAccess::del(url, tqtopLevelWidget()) ) { + if (KIO::NetAccess::del(url, topLevelWidget()) ) { KMessageBox::information( this,i18n("Cache emptied.") ); } } -- cgit v1.2.1