summaryrefslogtreecommitdiffstats
path: root/kmid/midicfgdlg.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/midicfgdlg.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/midicfgdlg.cpp')
-rw-r--r--kmid/midicfgdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmid/midicfgdlg.cpp b/kmid/midicfgdlg.cpp
index 855de04a..0be88c72 100644
--- a/kmid/midicfgdlg.cpp
+++ b/kmid/midicfgdlg.cpp
@@ -38,7 +38,7 @@
#include <kstandarddirs.h>
MidiConfigDialog::MidiConfigDialog(DeviceManager *dm,
- TQWidget *parent,const char *name) : KDialogBase(parent,name,TRUE,
+ TQWidget *tqparent,const char *name) : KDialogBase(tqparent,name,TRUE,
i18n("Configure MIDI Devices"), KDialogBase::Ok|KDialogBase::Cancel)
{
setMinimumSize(360,240);
@@ -56,7 +56,7 @@ MidiConfigDialog::MidiConfigDialog(DeviceManager *dm,
for (int i=0;i<devman->midiPorts()+devman->synthDevices();i++)
{
if (strcmp(devman->type(i),"")!=0)
- temp = TQString("%1 - %2").arg(devman->name(i)).arg(devman->type(i));
+ temp = TQString("%1 - %2").tqarg(devman->name(i)).tqarg(devman->type(i));
else
temp = devman->name(i);
@@ -105,7 +105,7 @@ void MidiConfigDialog::deviceselected(int idx)
void MidiConfigDialog::browseMap()
{
TQString path = KGlobal::dirs()->findAllResources("appdata", "maps/*.map").last();
- path.truncate(path.findRev('/'));
+ path.truncate(path.tqfindRev('/'));
KURL url = KFileDialog::getOpenURL(path,"*.map",this);