From b1057f437bf65300831a0ccb45b920787c6b318d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 06:00:15 +0000 Subject: 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 --- kmid/collectdlg.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmid/collectdlg.cpp') 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 -- cgit v1.2.1