summaryrefslogtreecommitdiffstats
path: root/kmid/kmidclient.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:57:28 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 18:07:30 +0200
commit537ccfa7e6fcdcb613f2f83744b19fc28f83b79f (patch)
treeaa9967241dd9bab89be10bb1102f89903c87d2a4 /kmid/kmidclient.cpp
parentcc17a105bc9cf5683ff3f208214068c571fcde59 (diff)
downloadtdemultimedia-537ccfa7e6fcdcb613f2f83744b19fc28f83b79f.tar.gz
tdemultimedia-537ccfa7e6fcdcb613f2f83744b19fc28f83b79f.zip
Remove additional unneeded tq method conversions
(cherry picked from commit dc07846059a60d069687585cc72ff501a2096296)
Diffstat (limited to 'kmid/kmidclient.cpp')
-rw-r--r--kmid/kmidclient.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp
index 40565172..a83e002f 100644
--- a/kmid/kmidclient.cpp
+++ b/kmid/kmidclient.cpp
@@ -290,10 +290,10 @@ int kmidClient::openFile(const char *filename)
switch (r)
{
case (-1) : errormsg =
- i18n("The file %1 does not exist or cannot be opened.").tqarg(filename);
+ i18n("The file %1 does not exist or cannot be opened.").arg(filename);
break;
case (-2) : errormsg =
- i18n("The file %1 is not a MIDI file.").tqarg(filename);break;
+ i18n("The file %1 is not a MIDI file.").arg(filename);break;
case (-3) : errormsg =
i18n("Ticks per quarter note is negative. Please send this file to larrosa@kde.org");break;
case (-4) : errormsg =
@@ -301,7 +301,7 @@ int kmidClient::openFile(const char *filename)
case (-5) : errormsg =
i18n("This file is corrupted or not well built.");break;
case (-6) : errormsg =
- i18n("%1 is not a regular file.").tqarg(filename);break;
+ i18n("%1 is not a regular file.").arg(filename);break;
default : errormsg = i18n("Unknown error message");break;
}
KMessageBox::error(this, errormsg);
@@ -310,9 +310,9 @@ int kmidClient::openFile(const char *filename)
midifile_opened=0L;
timebar->setRange(0,240000);
timebar->setValue(0);
- timetags->tqrepaint(TRUE);
+ timetags->repaint(TRUE);
kdispt->ClearEv();
- kdispt->tqrepaint(TRUE);
+ kdispt->repaint(TRUE);
topLevelWidget()->setCaption("KMid");
return -1;
@@ -327,7 +327,7 @@ int kmidClient::openFile(const char *filename)
// noteArray=player->parseNotes();
noteArray=player->noteArray();
timebar->setRange(0,(int)(player->information()->millisecsTotal));
- timetags->tqrepaint(TRUE);
+ timetags->repaint(TRUE);
kdispt->ClearEv();
spev=player->specialEvents();
while (spev)
@@ -343,7 +343,7 @@ int kmidClient::openFile(const char *filename)
kdispt->CursorToHome();
// kdispt->updateScrollBars();
emit mustRechooseTextEvent();
- kdispt->tqrepaint(TRUE);
+ kdispt->repaint(TRUE);
tempoLCD->display(tempoToMetronomeTempo(m_kMid.pctl->tempo));
currentTempo=tempoLCD->getValue();
tempoLCD->setDefaultValue(tempoToMetronomeTempo(m_kMid.pctl->tempo)*m_kMid.pctl->ratioTempo);
@@ -1129,7 +1129,7 @@ void kmidClient::repaintText(int type)
{
kdispt->ChangeTypeOfTextEvents(type);
typeoftextevents=type;
- kdispt->tqrepaint(TRUE);
+ kdispt->repaint(TRUE);
}
int kmidClient::ChooseTypeOfTextEvents(void)
@@ -1265,11 +1265,11 @@ void kmidClient::slotSelectSong(int i)
player->removeSong();
timebar->setRange(0,240000);
timebar->setValue(0);
- timetags->tqrepaint(TRUE);
+ timetags->repaint(TRUE);
kdispt->ClearEv();
- kdispt->tqrepaint(TRUE);
+ kdispt->repaint(TRUE);
comboSongs->clear();
- comboSongs->tqrepaint(TRUE);
+ comboSongs->repaint(TRUE);
topLevelWidget()->setCaption("KMid");
return;
}
@@ -1487,7 +1487,7 @@ void kmidClient::slotSetTempo(double value)
timebar->setRange(0,(int)(player->information()->millisecsTotal));
timebar->setValue(pausedatmillisec);
- timetags->tqrepaint(TRUE);
+ timetags->repaint(TRUE);
kdispt->ClearEv(false);