summaryrefslogtreecommitdiffstats
path: root/arts/tools
diff options
context:
space:
mode:
Diffstat (limited to 'arts/tools')
-rw-r--r--arts/tools/environmentview.cpp2
-rw-r--r--arts/tools/midiinstdlg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/arts/tools/environmentview.cpp b/arts/tools/environmentview.cpp
index acbb2083..0ba42a7f 100644
--- a/arts/tools/environmentview.cpp
+++ b/arts/tools/environmentview.cpp
@@ -68,7 +68,7 @@ EnvironmentView::EnvironmentView( Container container, TQWidget* tqparent, const
TQVBoxLayout* _layout = new TQVBoxLayout( this );
_layout->setAutoAdd( true );
defaultEnvFileName = DEFAULT_ENV_FILENAME;
- defaultEnvFileName.tqreplace('~', TQDir::homeDirPath());
+ defaultEnvFileName.replace('~', TQDir::homeDirPath());
listBox = new KListBox(this);
update();
connect(listBox,TQT_SIGNAL(executed(TQListBoxItem*)),
diff --git a/arts/tools/midiinstdlg.cpp b/arts/tools/midiinstdlg.cpp
index 87cc2ea3..339cafa6 100644
--- a/arts/tools/midiinstdlg.cpp
+++ b/arts/tools/midiinstdlg.cpp
@@ -98,7 +98,7 @@ MidiInstDlg::MidiInstDlg(TQWidget *tqparent)
TQString prefix = TQString::tqfromLatin1("instrument_");
if (modname.length() > 5)
modname.truncate(modname.length()-5); // kill .arts extension
- if ( (modname.startsWith(prefix)) && (!modname.tqcontains("_GUI")) )
+ if ( (modname.startsWith(prefix)) && (!modname.contains("_GUI")) )
box->insertItem(modname.mid(prefix.length()));
//kdDebug() << "inserted instrument: " << modname.mid(prefix.length()) << endl;
}