diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:14:55 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:14:55 -0600 |
commit | de9b6c9ad15f9f51812daae17cce635d1050a9ba (patch) | |
tree | 6b26400ab1a616925443c5d365246eb86c9bad57 /kicker/applets/clock | |
parent | 4f841fbbbc5d3399535ade061699cc76363c7a3f (diff) | |
download | tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.tar.gz tdebase-de9b6c9ad15f9f51812daae17cce635d1050a9ba.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kicker/applets/clock')
-rw-r--r-- | kicker/applets/clock/clock.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp index 2c4083443..5cfd3a308 100644 --- a/kicker/applets/clock/clock.cpp +++ b/kicker/applets/clock/clock.cpp @@ -370,7 +370,7 @@ void DigitalClock::loadSettings() setSegmentStyle(TQLCDNumber::Flat); if (_prefs->digitalLCDStyle()) - lcdPattern = KIconLoader("clockapplet").loadIcon("lcd", KIcon::User); + lcdPattern = TDEIconLoader("clockapplet").loadIcon("lcd", TDEIcon::User); setNumDigits(_prefs->digitalShowSeconds() ? 8:5); @@ -477,14 +477,14 @@ void AnalogClock::initBackgroundPixmap() //if no antialiasing, use pixmap as-is if (_prefs->analogAntialias() == 0) { - lcdPattern = KIconLoader("clockapplet").loadIcon("lcd",KIcon::User); + lcdPattern = TDEIconLoader("clockapplet").loadIcon("lcd",TDEIcon::User); _bgScale = 1; } else { //make a scaled pixmap -- so when image is reduced it'll look "OK". _bgScale = _prefs->analogAntialias()+1; - TQImage bgImage = KIconLoader("clockapplet").loadIcon("lcd", KIcon::User).convertToImage(); + TQImage bgImage = TDEIconLoader("clockapplet").loadIcon("lcd", TDEIcon::User).convertToImage(); lcdPattern = TQPixmap(bgImage.scale(bgImage.width() * _bgScale, bgImage.height() * _bgScale)); @@ -1780,7 +1780,7 @@ void ClockApplet::updateKickerTip(KickerTip::Data& data) TZoffset = zone->calc_TZ_offset(activeZone); } - data.icon = DesktopIcon("date", KIcon::SizeMedium); + data.icon = DesktopIcon("date", TDEIcon::SizeMedium); data.direction = popupDirection(); data.duration = 4000; } |