summaryrefslogtreecommitdiffstats
path: root/renamedlgplugins/audio/audio_plugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /renamedlgplugins/audio/audio_plugin.cpp
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'renamedlgplugins/audio/audio_plugin.cpp')
-rw-r--r--renamedlgplugins/audio/audio_plugin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/renamedlgplugins/audio/audio_plugin.cpp b/renamedlgplugins/audio/audio_plugin.cpp
index 44ae9d0..5aeeb49 100644
--- a/renamedlgplugins/audio/audio_plugin.cpp
+++ b/renamedlgplugins/audio/audio_plugin.cpp
@@ -73,11 +73,11 @@ bool AudioPlugin::initialize( KIO::RenameDlg_Mode mode, const TQString &_src, co
TQString sentence1;
TQString dest = KURL::fromPathOrURL(_dest).pathOrURL();
if (mtimeDest < mtimeSrc)
- sentence1 = i18n("An older file named '%1' already exists.\n").arg(dest);
+ sentence1 = i18n("An older file named '%1' already exists.\n").tqarg(dest);
else if (mtimeDest == mtimeSrc)
- sentence1 = i18n("A similar file named '%1' already exists.\n").arg(dest);
+ sentence1 = i18n("A similar file named '%1' already exists.\n").tqarg(dest);
else
- sentence1 = i18n("A newer file named '%1' already exists.\n").arg(dest);
+ sentence1 = i18n("A newer file named '%1' already exists.\n").tqarg(dest);
label_head->setText(sentence1);
label_src->setText(i18n("Source File"));
label_dst->setText(i18n("Existing File"));
@@ -86,10 +86,10 @@ bool AudioPlugin::initialize( KIO::RenameDlg_Mode mode, const TQString &_src, co
label_src->adjustSize();
label_dst->adjustSize();
label_ask->adjustSize();
- lay->addMultiCellWidget(label_head, 0, 0, 0, 2, Qt::AlignLeft);
- lay->addWidget(label_dst, 1, 0, Qt::AlignLeft);
- lay->addWidget(label_src, 1, 2, Qt::AlignLeft);
- lay->addMultiCellWidget(label_ask, 3, 3, 0, 2, Qt::AlignLeft);
+ lay->addMultiCellWidget(label_head, 0, 0, 0, 2, TQt::AlignLeft);
+ lay->addWidget(label_dst, 1, 0, TQt::AlignLeft);
+ lay->addWidget(label_src, 1, 2, TQt::AlignLeft);
+ lay->addMultiCellWidget(label_ask, 3, 3, 0, 2, TQt::AlignLeft);
adjustSize();
}
AudioPreview *left= new AudioPreview(this, "Preview Left", _dest, mimeDest );