From 3c299dfe48c0060272c2966fff599b3b417e2ee4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:33:07 -0600 Subject: Rename old tq methods that no longer need a unique name --- kmid/kmidclient.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmid/kmidclient.cpp') diff --git a/kmid/kmidclient.cpp b/kmid/kmidclient.cpp index 706e7cbf..40565172 100644 --- a/kmid/kmidclient.cpp +++ b/kmid/kmidclient.cpp @@ -96,7 +96,7 @@ kmidClient::kmidClient(TQWidget *parent, KActionCollection *ac, const char *name connect (timebar,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(slotSeek(int))); timetags = new QSliderTime(timebar,this); - timetags->setMinimumSize(timetags->tqsizeHint()); + timetags->setMinimumSize(timetags->sizeHint()); qlabelTempo= new TQLabel(i18n("Tempo:"), this,"tempolabel", TQLabel::NoFrame); @@ -108,7 +108,7 @@ kmidClient::kmidClient(TQWidget *parent, KActionCollection *ac, const char *name tempoLCD->setRange(3,999); tempoLCD->setDefaultValue(120); tempoLCD->setUserSetDefaultValue(true); - tempoLCD->setMinimumSize(tempoLCD->tqsizeHint()); + tempoLCD->setMinimumSize(tempoLCD->sizeHint()); connect(tempoLCD,TQT_SIGNAL(valueChanged(double)),this,TQT_SLOT(slotSetTempo(double))); comboSongs = new TQComboBox(FALSE, this,"Songs"); @@ -313,7 +313,7 @@ int kmidClient::openFile(const char *filename) timetags->tqrepaint(TRUE); kdispt->ClearEv(); kdispt->tqrepaint(TRUE); - tqtopLevelWidget()->setCaption("KMid"); + topLevelWidget()->setCaption("KMid"); return -1; } @@ -353,7 +353,7 @@ int kmidClient::openFile(const char *filename) char *capt=new char[strlen(fn)+20]; sprintf(capt,"KMid - %s",fn); delete fn; - tqtopLevelWidget()->setCaption(capt); + topLevelWidget()->setCaption(capt); delete capt; timebar->setValue(0); @@ -1270,7 +1270,7 @@ void kmidClient::slotSelectSong(int i) kdispt->tqrepaint(TRUE); comboSongs->clear(); comboSongs->tqrepaint(TRUE); - tqtopLevelWidget()->setCaption("KMid"); + topLevelWidget()->setCaption("KMid"); return; } @@ -1522,9 +1522,9 @@ void kmidClient::downloadFinished(KIO::Job *) kapp->exit_loop(); } -TQSize kmidClient::tqsizeHint() const +TQSize kmidClient::sizeHint() const { - TQSize sh = TQWidget::tqsizeHint(); + TQSize sh = TQWidget::sizeHint(); return sh.expandedTo(TQSize(560,420)); } -- cgit v1.2.1