diff options
Diffstat (limited to 'kmid/kdisptext.cpp')
-rw-r--r-- | kmid/kdisptext.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmid/kdisptext.cpp b/kmid/kdisptext.cpp index 3eabda50..073c7715 100644 --- a/kmid/kdisptext.cpp +++ b/kmid/kdisptext.cpp @@ -52,14 +52,14 @@ KDisplayText::KDisplayText(TQWidget *parent,const char *name) : TQScrollView(par first_line=NULL; cursor=NULL; nlines=0; - lyrics_codec=KGlobal::locale()->codecForEncoding(); + lyrics_codec=TDEGlobal::locale()->codecForEncoding(); viewport()->setBackgroundColor(TQColor (110,110,110)); // setBackgroundMode(NoBackground); - KConfig *kcfg=KGlobal::instance()->config(); + KConfig *kcfg=TDEGlobal::instance()->config(); kcfg->setGroup("KMid"); typeoftextevents=kcfg->readNumEntry("TypeOfTextEvents",1); - TQFont *qtextfontdefault=new TQFont(KGlobalSettings::fixedFont().family(),22); + TQFont *qtextfontdefault=new TQFont(TDEGlobalSettings::fixedFont().family(),22); qtextfont=new TQFont(kcfg->readFontEntry("KaraokeFont",qtextfontdefault)); delete qtextfontdefault; qfmetr=new TQFontMetrics(*qtextfont); @@ -333,7 +333,7 @@ void KDisplayText::resizeEvent(TQResizeEvent *e) void KDisplayText::CursorToHome(void) { -/* KConfig *kcfg=KGlobal::instance()->config(); +/* KConfig *kcfg=TDEGlobal::instance()->config(); kcfg->setGroup("KMid"); typeoftextevents=kcfg->readNumEntry("TypeOfTextEvents",1); */ @@ -499,7 +499,7 @@ TQFont *KDisplayText::getFont(void) void KDisplayText::fontChanged(void) { - KConfig *kcfg=KGlobal::instance()->config(); + KConfig *kcfg=TDEGlobal::instance()->config(); kcfg->setGroup("KMid"); TQFont *qtextfontdefault=new TQFont(*qtextfont); delete qtextfont; @@ -623,7 +623,7 @@ void KDisplayText::setLyricsEncoding(const TQString &enc) { TQTextCodec *newcodec; if (enc.isEmpty()) - newcodec=KGlobal::locale()->codecForEncoding(); + newcodec=TDEGlobal::locale()->codecForEncoding(); else newcodec=TQTextCodec::codecForName(enc.latin1()); |