summaryrefslogtreecommitdiffstats
path: root/kmid/midicfgdlg.cpp
diff options
context:
space:
mode:
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);