summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/dialogs/overwritedialogue.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /umbrello/umbrello/dialogs/overwritedialogue.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/dialogs/overwritedialogue.cpp')
-rw-r--r--umbrello/umbrello/dialogs/overwritedialogue.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/umbrello/umbrello/dialogs/overwritedialogue.cpp b/umbrello/umbrello/dialogs/overwritedialogue.cpp
index c9cb8b92..c7661ced 100644
--- a/umbrello/umbrello/dialogs/overwritedialogue.cpp
+++ b/umbrello/umbrello/dialogs/overwritedialogue.cpp
@@ -23,17 +23,17 @@
OverwriteDialogue::OverwriteDialogue(
const TQString& fileName,
const TQString& outputDirectory,
- bool applyToAllRemaining, TQWidget* parent, const char* name) :
-KDialogBase(Plain, i18n("Destination File Already Exists"), Ok|Apply|Cancel, Yes, parent, name) {
+ bool applyToAllRemaining, TQWidget* tqparent, const char* name) :
+KDialogBase(Plain, i18n("Destination File Already Exists"), Ok|Apply|Cancel, Yes, tqparent, name) {
- TQVBoxLayout* layout = new TQVBoxLayout( plainPage(), 0, spacingHint() );
+ TQVBoxLayout* tqlayout = new TQVBoxLayout( plainPage(), 0, spacingHint() );
- TQLabel* dialogueLabel = new TQLabel(i18n("The file %1 already exists in %2.\n\nUmbrello can overwrite the file, generate a similar\nfile name or not generate this file.").arg(fileName).arg(outputDirectory), plainPage() );
- layout->addWidget(dialogueLabel);
+ TQLabel* dialogueLabel = new TQLabel(i18n("The file %1 already exists in %2.\n\nUmbrello can overwrite the file, generate a similar\nfile name or not generate this file.").tqarg(fileName).tqarg(outputDirectory), plainPage() );
+ tqlayout->addWidget(dialogueLabel);
m_applyToAllRemaining = new TQCheckBox( i18n("&Apply to all remaining files"), plainPage() );
m_applyToAllRemaining->setChecked(applyToAllRemaining);
- layout->addWidget(m_applyToAllRemaining);
+ tqlayout->addWidget(m_applyToAllRemaining);
setButtonText(KDialogBase::Ok, i18n("&Overwrite"));
setButtonText(KDialogBase::Apply, i18n("&Generate Similar File Name"));