From 1623fe64102c18ab098b79656b80f28cef840756 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04. --- parts/distpart/distpart_ui.ui | 36 ++++++++++++++++++------------------ parts/distpart/distpart_widget.cpp | 10 +++++----- 2 files changed, 23 insertions(+), 23 deletions(-) (limited to 'parts/distpart') diff --git a/parts/distpart/distpart_ui.ui b/parts/distpart/distpart_ui.ui index 6182100f..7cb665ce 100644 --- a/parts/distpart/distpart_ui.ui +++ b/parts/distpart/distpart_ui.ui @@ -21,13 +21,13 @@ 0 - + 0 0 - + 32767 32767 @@ -69,7 +69,7 @@ 0 - + 250 0 @@ -91,13 +91,13 @@ 0 - + 48 48 - + 48 48 @@ -231,7 +231,7 @@ Expanding - + 0 20 @@ -314,7 +314,7 @@ - layout12 + tqlayout12 @@ -322,7 +322,7 @@ - layout11 + tqlayout11 @@ -646,7 +646,7 @@ changes project compiled version number - layout13 + tqlayout13 @@ -654,7 +654,7 @@ changes project compiled version number - layout8 + tqlayout8 @@ -702,7 +702,7 @@ Build Files - layout16 + tqlayout16 @@ -710,7 +710,7 @@ Build Files - layout14 + tqlayout14 @@ -755,7 +755,7 @@ Build Files - layout15 + tqlayout15 @@ -866,7 +866,7 @@ Build Files Fixed - + 20 20 @@ -885,7 +885,7 @@ Build Files Expanding - + 20 0 @@ -954,7 +954,7 @@ Build Files 0 - + 250 0 @@ -993,7 +993,7 @@ Build Files Minimum - + 20 20 @@ -1071,7 +1071,7 @@ Build Files Expanding - + 0 20 diff --git a/parts/distpart/distpart_widget.cpp b/parts/distpart/distpart_widget.cpp index cabbe68d..412f957e 100644 --- a/parts/distpart/distpart_widget.cpp +++ b/parts/distpart/distpart_widget.cpp @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include #include @@ -142,14 +142,14 @@ void DistpartDialog::slotcreateSrcArchPushButtonPressed() { } else { - prog->setLabel(i18n("Adding file: %1").arg( file) ); + prog->setLabel(i18n("Adding file: %1").tqarg( file) ); prog->progressBar()->setValue( (idx*100)/srcDistFileListBox->numRows() ); } } tar.close( ); prog->hide(); delete prog; - KMessageBox::information( this, i18n("Archive made at: %1").arg( filename ), i18n("Archive Done") ); + KMessageBox::information( this, i18n("Archive made at: %1").tqarg( filename ), i18n("Archive Done") ); } else @@ -457,7 +457,7 @@ TQString DistpartDialog::getSourceName() { name += (getcustomProjectCheckBoxState() && getbzipCheckBoxState()) ? ".tar.bz2" : ".tar.gz"; return name.replace(TQRegExp("%n"),getappNameFormatLineEditText()) .replace(TQRegExp("%v"),getversionLineEditText()) - .replace(TQRegExp("%d"),TQDate::currentDate().toString("yyyyMMdd")); + .replace(TQRegExp("%d"),TQDate::tqcurrentDate().toString("yyyyMMdd")); } void DistpartDialog::loadSettings() { @@ -592,7 +592,7 @@ void DistpartDialog::slotAddFileButtonPressed(){ } void DistpartDialog::slotRemoveFile(TQListBoxItem *item){ - if ( KMessageBox::Yes == KMessageBox::warningYesNo( this, i18n("Remove %1").arg( item->text() ), i18n("Remove File") )){ + if ( KMessageBox::Yes == KMessageBox::warningYesNo( this, i18n("Remove %1").tqarg( item->text() ), i18n("Remove File") )){ for(uint count =0; count< srcDistFileListBox->numRows(); count++){ if ( item == srcDistFileListBox->item(count)){ srcDistFileListBox->removeItem(count); -- cgit v1.2.1