diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:18:14 -0600 |
commit | b97ee238f88e9578da228388210cd8cab5360778 (patch) | |
tree | 8bf3ab88929af70826ebe3b84434c3403dc71c7d /karm | |
parent | 656055dae6f13ee65d66fabf9041b288d81710af (diff) | |
download | tdepim-b97ee238f88e9578da228388210cd8cab5360778.tar.gz tdepim-b97ee238f88e9578da228388210cd8cab5360778.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'karm')
-rw-r--r-- | karm/preferences.cpp | 6 | ||||
-rw-r--r-- | karm/task.cpp | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/karm/preferences.cpp b/karm/preferences.cpp index 005243ce4..1ccf46a3f 100644 --- a/karm/preferences.cpp +++ b/karm/preferences.cpp @@ -46,7 +46,7 @@ Preferences *Preferences::instance( const TQString &icsfile ) void Preferences::makeBehaviorPage() { - TQPixmap icon = SmallIcon( "kcmsystem", KIcon::SizeMedium); + TQPixmap icon = SmallIcon( "kcmsystem", TDEIcon::SizeMedium); TQFrame* behaviorPage = addPage( i18n("Behavior"), i18n("Behavior Settings"), icon ); @@ -74,7 +74,7 @@ void Preferences::makeBehaviorPage() void Preferences::makeDisplayPage() { - TQPixmap icon = SmallIcon( "viewmag", KIcon::SizeMedium ); + TQPixmap icon = SmallIcon( "viewmag", TDEIcon::SizeMedium ); TQFrame* displayPage = addPage( i18n("Display"), i18n("Display Settings"), icon ); @@ -104,7 +104,7 @@ void Preferences::makeDisplayPage() void Preferences::makeStoragePage() { - TQPixmap icon = SmallIcon( "kfm", KIcon::SizeMedium ); + TQPixmap icon = SmallIcon( "kfm", TDEIcon::SizeMedium ); TQFrame* storagePage = addPage( i18n("Storage"), i18n("Storage Settings"), icon ); diff --git a/karm/task.cpp b/karm/task.cpp index 7d84bcd2c..20e9c5118 100644 --- a/karm/task.cpp +++ b/karm/task.cpp @@ -62,13 +62,13 @@ void Task::init( const TQString& taskName, long minutes, long sessionTime, if (icons == 0) { icons = new TQPtrVector<TQPixmap>(8); - KIconLoader kil("karm"); // always load icons from the KArm application + TDEIconLoader kil("karm"); // always load icons from the KArm application for (int i=0; i<8; i++) { TQPixmap *icon = new TQPixmap(); TQString name; name.sprintf("watch-%d.xpm",i); - *icon = kil.loadIcon( name, KIcon::User ); + *icon = kil.loadIcon( name, TDEIcon::User ); icons->insert(i,icon); } } |