diff options
author | Timothy Pearson <[email protected]> | 2011-12-18 18:33:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-18 18:33:07 -0600 |
commit | 3c299dfe48c0060272c2966fff599b3b417e2ee4 (patch) | |
tree | f248b71f55539d6689a4cbe086d5d8cc146c8998 /kmid/kmidclient.cpp | |
parent | f59dfa08651a47f21d004e8e4cb5020b8035287e (diff) | |
download | tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.tar.gz tdemultimedia-3c299dfe48c0060272c2966fff599b3b417e2ee4.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kmid/kmidclient.cpp')
-rw-r--r-- | kmid/kmidclient.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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)); } |