Browse Source

Rename KIcon to enhance compatibility with KDE4

tags/r14.0.0
Timothy Pearson 7 years ago
parent
commit
125978c939
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      kdirstat/kdirtreeview.cpp
  2. +2
    -2
      kdirstat/kfeedback.cpp

+ 1
- 1
kdirstat/kdirtreeview.cpp View File

@@ -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" );


+ 2
- 2
kdirstat/kfeedback.cpp View File

@@ -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 );


Loading…
Cancel
Save