diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:13:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:13:36 -0600 |
commit | 6c0599e58e1d9126a66e7f8aaf22cdbe10a3fa9d (patch) | |
tree | a333ba247308a1c012d13576a2bcbee5e3325182 /ksysv | |
parent | 09470cb1bf92cbed1abf0f7096af9ed87a262624 (diff) | |
download | tdeadmin-6c0599e58e1d9126a66e7f8aaf22cdbe10a3fa9d.tar.gz tdeadmin-6c0599e58e1d9126a66e7f8aaf22cdbe10a3fa9d.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'ksysv')
-rw-r--r-- | ksysv/trash.cpp | 4 | ||||
-rw-r--r-- | ksysv/trash.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ksysv/trash.cpp b/ksysv/trash.cpp index a397bfb..887bb58 100644 --- a/ksysv/trash.cpp +++ b/ksysv/trash.cpp @@ -40,7 +40,7 @@ KSVTrash::KSVTrash (TQWidget* parent, const char* name) setFrameStyle (TQFrame::StyledPanel | TQFrame::Sunken); - mLabel->setPixmap(mKIL->loadIcon("trashcan_empty", KIcon::Desktop)); + mLabel->setPixmap(mKIL->loadIcon("trashcan_empty", TDEIcon::Desktop)); mPixmapWidth = mLabel->pixmap()->width(); mLabel->setGeometry(5, 7, mPixmapWidth, mPixmapWidth); @@ -88,7 +88,7 @@ void KSVTrash::dragMoveEvent ( TQDragMoveEvent* e ) TQPainter p; p.begin(mLabel); - p.drawPixmap( 0, 0, mKIL->loadIcon("trashcan_full", KIcon::Desktop) ); + p.drawPixmap( 0, 0, mKIL->loadIcon("trashcan_full", TDEIcon::Desktop) ); p.end(); mOpen = true; diff --git a/ksysv/trash.h b/ksysv/trash.h index 89215ba..d848790 100644 --- a/ksysv/trash.h +++ b/ksysv/trash.h @@ -21,7 +21,7 @@ // forward declarations class TQLabel; -class KIconLoader; +class TDEIconLoader; class KSVItem; class KSVAction; @@ -55,7 +55,7 @@ protected: virtual bool eventFilter ( TQObject*, TQEvent* ); private: - KIconLoader* mKIL; + TDEIconLoader* mKIL; TQLabel* mLabel; bool mOpen; int mPixmapWidth; |