summaryrefslogtreecommitdiffstats
path: root/kmid/collectdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /kmid/collectdlg.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/collectdlg.cpp')
-rw-r--r--kmid/collectdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmid/collectdlg.cpp b/kmid/collectdlg.cpp
index ab476bb6..a98a8a05 100644
--- a/kmid/collectdlg.cpp
+++ b/kmid/collectdlg.cpp
@@ -38,7 +38,7 @@
#include "songlist.h"
#include "slman.h"
-CollectionDialog::CollectionDialog(SLManager *slm,int selC,TQWidget *parent,const char *name) : TQDialog(parent,name,TRUE)
+CollectionDialog::CollectionDialog(SLManager *slm,int selC,TQWidget *tqparent,const char *name) : TQDialog(tqparent,name,TRUE)
{
setCaption(i18n("Collections Manager"));
ok=new KPushButton(KStdGuiItem::ok(),this);
@@ -156,7 +156,7 @@ void CollectionDialog::newCollection()
{
bool ok;
TQString name = KInputDialog::getText( i18n( "New Collection" ),
- i18n( "Enter the name of the new collection:" ), TQString::null,
+ i18n( "Enter the name of the new collection:" ), TQString(),
&ok, this );
if (ok)
@@ -164,7 +164,7 @@ void CollectionDialog::newCollection()
int i=slman->createCollection(name.ascii());
if (i==-1)
{
- TQString s = i18n("The name '%1' is already used").arg(name);
+ TQString s = i18n("The name '%1' is already used").tqarg(name);
KMessageBox::sorry(this, s);
}
else
@@ -182,7 +182,7 @@ SongList *src=currentsl;
int i;
bool ok;
TQString name = KInputDialog::getText( i18n( "Copy Collection" ),
- i18n( "Enter the name of the copy collection:" ), TQString::null,
+ i18n( "Enter the name of the copy collection:" ), TQString(),
&ok, this );
if (ok)
@@ -190,7 +190,7 @@ int i;
i=slman->createCollection(name.ascii());
if (i==-1)
{
- TQString s = i18n("The name '%1' is already used").arg(name);
+ TQString s = i18n("The name '%1' is already used").tqarg(name);
KMessageBox::sorry(this, s);
}
else
@@ -225,14 +225,14 @@ if (idx==0) return;
bool ok;
TQString name = KInputDialog::getText( i18n( "Change Collection Name" ),
- i18n( "Enter the name of the selected collection:" ), TQString::null,
+ i18n( "Enter the name of the selected collection:" ), TQString(),
&ok, this );
if (ok)
{
if (slman->getCollection(name.ascii())!=NULL)
{
- TQString s = i18n("The name '%1' is already used").arg(name);
+ TQString s = i18n("The name '%1' is already used").tqarg(name);
KMessageBox::sorry(this, s);
}
else