summaryrefslogtreecommitdiffstats
path: root/kmid
diff options
context:
space:
mode:
Diffstat (limited to 'kmid')
-rw-r--r--kmid/channel.cpp2
-rw-r--r--kmid/kdisptext.h2
-rw-r--r--kmid/klcdnumber.cpp2
-rw-r--r--kmid/klcdnumber.h2
-rw-r--r--kmid/kmidclient.cpp14
-rw-r--r--kmid/kmidclient.h2
-rw-r--r--kmid/ktrianglebutton.cpp12
-rw-r--r--kmid/qslidertime.cpp2
-rw-r--r--kmid/qslidertime.h2
-rw-r--r--kmid/rhythmview.cpp2
-rw-r--r--kmid/rhythmview.h2
11 files changed, 22 insertions, 22 deletions
diff --git a/kmid/channel.cpp b/kmid/channel.cpp
index 2fe22de6..419a375c 100644
--- a/kmid/channel.cpp
+++ b/kmid/channel.cpp
@@ -48,7 +48,7 @@ KMidChannel::KMidChannel(int chn,TQWidget *parent) : TQWidget (parent)
keyboard = TQPixmap(locate("appdata","icons/keyboard.xpm"));
penB = new TQPen (black);
penW = new TQPen (white);
- penT = new TQPen (tqcolorGroup().background());
+ penT = new TQPen (colorGroup().background());
KConfig *kcfg=KGlobal::instance()->config();
kcfg->setGroup("KMid");
diff --git a/kmid/kdisptext.h b/kmid/kdisptext.h
index 8cd9939f..2c331425 100644
--- a/kmid/kdisptext.h
+++ b/kmid/kdisptext.h
@@ -113,7 +113,7 @@ public:
void setLyricsEncoding(const TQString &enc);
-// TQSize tqsizeHint();
+// TQSize sizeHint();
public slots:
void ScrollDown();
diff --git a/kmid/klcdnumber.cpp b/kmid/klcdnumber.cpp
index 355f9578..f97e2775 100644
--- a/kmid/klcdnumber.cpp
+++ b/kmid/klcdnumber.cpp
@@ -332,7 +332,7 @@ void KLCDNumber::setRange(double min, double max)
maxValue=max;
}
-TQSize KLCDNumber::tqsizeHint()
+TQSize KLCDNumber::sizeHint()
{
return TQSize(83,28);
}
diff --git a/kmid/klcdnumber.h b/kmid/klcdnumber.h
index cf1fca4e..6f9096c4 100644
--- a/kmid/klcdnumber.h
+++ b/kmid/klcdnumber.h
@@ -121,7 +121,7 @@ public:
void display (int v);
void display (double v);
- TQSize tqsizeHint ();
+ TQSize sizeHint ();
// TQSizePolicy sizePolicy();
protected:
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));
}
diff --git a/kmid/kmidclient.h b/kmid/kmidclient.h
index dbfa7518..3b6fbad8 100644
--- a/kmid/kmidclient.h
+++ b/kmid/kmidclient.h
@@ -217,7 +217,7 @@ public:
void setCurrentSong(int i);
void setPlayListMode(int i);
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
private:
TQSlider *timebar;
QSliderTime *timetags;
diff --git a/kmid/ktrianglebutton.cpp b/kmid/ktrianglebutton.cpp
index 155daf31..bf7137bf 100644
--- a/kmid/ktrianglebutton.cpp
+++ b/kmid/ktrianglebutton.cpp
@@ -75,21 +75,21 @@ void KTriangleButton::paint( TQPainter *painter )
{
if ( isDown() || isOn() )
{
- if ( tqstyle().tqstyleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
+ if ( tqstyle().styleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
qDrawWinButton( painter, 0, 0, width(),
- height(), tqcolorGroup(), TRUE );
+ height(), colorGroup(), TRUE );
else
qDrawShadePanel( painter, 0, 0, width(),
- height(), tqcolorGroup(), TRUE, 2, 0L );
+ height(), colorGroup(), TRUE, 2, 0L );
}
else if ( raised )
{
- if ( tqstyle().tqstyleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
+ if ( tqstyle().styleHint(TQStyle::SH_GUIStyle) == WindowsStyle )
qDrawWinButton( painter, 0, 0, width(), height(),
- tqcolorGroup(), FALSE );
+ colorGroup(), FALSE );
else
qDrawShadePanel( painter, 0, 0, width(), height(),
- tqcolorGroup(), FALSE, 2, 0L );
+ colorGroup(), FALSE, 2, 0L );
}
if (dir==Right)
diff --git a/kmid/qslidertime.cpp b/kmid/qslidertime.cpp
index ba1b62f8..aa879da5 100644
--- a/kmid/qslidertime.cpp
+++ b/kmid/qslidertime.cpp
@@ -108,7 +108,7 @@ if (kslider==NULL) return;
}
-TQSize QSliderTime::tqsizeHint()
+TQSize QSliderTime::sizeHint()
{
return TQSize(10,fontheight+2);
}
diff --git a/kmid/qslidertime.h b/kmid/qslidertime.h
index a409332b..3dda085d 100644
--- a/kmid/qslidertime.h
+++ b/kmid/qslidertime.h
@@ -43,7 +43,7 @@ public:
int getFontHeight(void) {return fontheight;};
- TQSize tqsizeHint();
+ TQSize sizeHint();
TQSizePolicy sizePolicy();
private:
diff --git a/kmid/rhythmview.cpp b/kmid/rhythmview.cpp
index 49499d46..240ee242 100644
--- a/kmid/rhythmview.cpp
+++ b/kmid/rhythmview.cpp
@@ -95,7 +95,7 @@ void RhythmView::resizeEvent(TQResizeEvent *)
}
}
-TQSize RhythmView::tqsizeHint()
+TQSize RhythmView::sizeHint()
{
return TQSize(10,10);
}
diff --git a/kmid/rhythmview.h b/kmid/rhythmview.h
index 97a7ae1a..8af09613 100644
--- a/kmid/rhythmview.h
+++ b/kmid/rhythmview.h
@@ -43,7 +43,7 @@ public:
void Beat(void); // Just increase the beat
- TQSize tqsizeHint();
+ TQSize sizeHint();
TQSizePolicy sizePolicy();
private: