summaryrefslogtreecommitdiffstats
path: root/kig/modes/typesdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-04 14:15:51 -0600
committerTimothy Pearson <[email protected]>2013-02-04 14:15:51 -0600
commit8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5 (patch)
tree896beb3aed9d9d27eb560459a9ab05d1230c018a /kig/modes/typesdialog.cpp
parentc44bd981877cabab2b021987eb29ef00fbba9e82 (diff)
downloadtdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.tar.gz
tdeedu-8cb8ba0f957e8a164cdcfbc2685b14d8d0a5c9a5.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kig/modes/typesdialog.cpp')
-rw-r--r--kig/modes/typesdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kig/modes/typesdialog.cpp b/kig/modes/typesdialog.cpp
index 917a46fc..82b280fa 100644
--- a/kig/modes/typesdialog.cpp
+++ b/kig/modes/typesdialog.cpp
@@ -68,10 +68,10 @@ TypesDialog::TypesDialog( TQWidget* parent, KigPart& part )
buttonOk->setGuiItem( KStdGuiItem::ok() );
buttonCancel->setGuiItem( KStdGuiItem::cancel() );
il = part.instance()->iconLoader();
- buttonEdit->setIconSet( TQIconSet( il->loadIcon( "edit", KIcon::Small ) ) );
- buttonRemove->setIconSet( TQIconSet( il->loadIcon( "editdelete", KIcon::Small ) ) );
- buttonExport->setIconSet( TQIconSet( il->loadIcon( "fileexport", KIcon::Small ) ) );
- buttonImport->setIconSet( TQIconSet( il->loadIcon( "fileimport", KIcon::Small ) ) );
+ buttonEdit->setIconSet( TQIconSet( il->loadIcon( "edit", TDEIcon::Small ) ) );
+ buttonRemove->setIconSet( TQIconSet( il->loadIcon( "editdelete", TDEIcon::Small ) ) );
+ buttonExport->setIconSet( TQIconSet( il->loadIcon( "fileexport", TDEIcon::Small ) ) );
+ buttonImport->setIconSet( TQIconSet( il->loadIcon( "fileimport", TDEIcon::Small ) ) );
typeList->setColumnWidth( 0, 22 );
typeList->setColumnWidth( 1, 140 );
@@ -96,7 +96,7 @@ TQListViewItem* TypesDialog::newListItem( Macro* m )
TQCString ifn = m->action->iconFileName();
if ( !ifn.isNull() )
{
- TQPixmap p = il->loadIcon( ifn, KIcon::Small );
+ TQPixmap p = il->loadIcon( ifn, TDEIcon::Small );
e->setPixmap( 0, p );
}
return e;