diff options
Diffstat (limited to 'noatun-plugins/ffrs')
-rw-r--r-- | noatun-plugins/ffrs/ffrs.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/noatun-plugins/ffrs/ffrs.cpp b/noatun-plugins/ffrs/ffrs.cpp index 706ade4..a562751 100644 --- a/noatun-plugins/ffrs/ffrs.cpp +++ b/noatun-plugins/ffrs/ffrs.cpp @@ -30,7 +30,7 @@ View::View(int width, int height, int block, int unblock, TQColor front, TQColor setPaletteBackgroundColor(back); KWin::setState(handle(), NET::SkipTaskbar); - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); TQSize size = napp->desktop()->size(); @@ -80,7 +80,7 @@ View::View(int width, int height, int block, int unblock, TQColor front, TQColor View::~View() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); c->writeEntry("at"+TQString::number(mChannel), pos()); } @@ -234,7 +234,7 @@ FFRSPrefs::FFRSPrefs( TQObject *parent ) void FFRSPrefs::save() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); c->writeEntry("width", mWidth->value()); @@ -251,35 +251,35 @@ void FFRSPrefs::save() int FFRSPrefs::width() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); return c->readNumEntry("width", 22); } int FFRSPrefs::height() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); return c->readNumEntry("height", 162); } int FFRSPrefs::fgblock() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); return c->readNumEntry("fgblock", 27-12); } int FFRSPrefs::bgblock() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); return c->readNumEntry("bgblock", 12); } int FFRSPrefs::rate() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); return c->readNumEntry("rate", 110); } @@ -287,7 +287,7 @@ int FFRSPrefs::rate() TQColor FFRSPrefs::bgcolor() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); TQColor dumbass(0, 64, 0); return c->readColorEntry("bgcolor", &dumbass); @@ -295,7 +295,7 @@ TQColor FFRSPrefs::bgcolor() TQColor FFRSPrefs::fgcolor() { - KConfig *c = napp->config(); + TDEConfig *c = napp->config(); c->setGroup("FFRS"); TQColor dumbass(0, 255, 0); return c->readColorEntry("fgcolor", &dumbass); |