summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:02:38 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:02:38 -0600
commit125978c9398eb49389ae4c22e5acfd3c676d247e (patch)
treefbfeed03f0009fe5536217ae62dc62bcd200ad81
parentd32db91915c39c6347100c4aebea79f56d0cf7ec (diff)
downloadkdirstat-125978c9398eb49389ae4c22e5acfd3c676d247e.tar.gz
kdirstat-125978c9398eb49389ae4c22e5acfd3c676d247e.zip
Rename KIcon to enhance compatibility with KDE4
-rw-r--r--kdirstat/kdirtreeview.cpp2
-rw-r--r--kdirstat/kfeedback.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/kdirstat/kdirtreeview.cpp b/kdirstat/kdirtreeview.cpp
index c7a7dda..fa4dd51 100644
--- a/kdirstat/kdirtreeview.cpp
+++ b/kdirstat/kdirtreeview.cpp
@@ -88,7 +88,7 @@ KDirTreeView::KDirTreeView( TQWidget * parent )
setSorting( _totalSizeCol );
-#define loadIcon(ICON) TDEGlobal::iconLoader()->loadIcon( (ICON), KIcon::Small )
+#define loadIcon(ICON) TDEGlobal::iconLoader()->loadIcon( (ICON), TDEIcon::Small )
_openDirIcon = loadIcon( "folder_open" );
_closedDirIcon = loadIcon( "folder" );
diff --git a/kdirstat/kfeedback.cpp b/kdirstat/kfeedback.cpp
index e81d21e..8f64d27 100644
--- a/kdirstat/kfeedback.cpp
+++ b/kdirstat/kfeedback.cpp
@@ -116,7 +116,7 @@ KFeedbackForm::KFeedbackForm( const TQString & feedbackMailAddress,
label = new TQLabel( hbox );
CHECK_PTR( label );
- label->setPixmap( TDEGlobal::iconLoader()->loadIcon( "edit", KIcon::Small ) );
+ label->setPixmap( TDEGlobal::iconLoader()->loadIcon( "edit", TDEIcon::Small ) );
label->setSizePolicy( pol );
label = new TQLabel( i18n( " must be answered before a mail can be sent.") , hbox );
@@ -342,7 +342,7 @@ KFeedbackQuestion::KFeedbackQuestion( KFeedbackQuestionList * parent,
{
if ( required )
{
- setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "edit", KIcon::Small ) );
+ setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( "edit", TDEIcon::Small ) );
}
setOpen( open );