summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/util.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:19:04 -0600
commit34ec7cf1e70300eb43f3822ce3261893f9f8ace6 (patch)
treec7fe414e406e16a97e53d9eed0979d9ea85d2915 /kregexpeditor/util.cpp
parente6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff)
downloadtdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz
tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kregexpeditor/util.cpp')
-rw-r--r--kregexpeditor/util.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kregexpeditor/util.cpp b/kregexpeditor/util.cpp
index bfcd0fe..dedccfc 100644
--- a/kregexpeditor/util.cpp
+++ b/kregexpeditor/util.cpp
@@ -27,7 +27,7 @@ TQPixmap Util::getKRegExpEditorIcon( const TQString& name )
return pix;
#else
return TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/") +name ),
- KIcon::Toolbar );
+ TDEIcon::Toolbar );
#endif
}
@@ -38,8 +38,8 @@ TQPixmap Util::getSystemIcon( const TQString& name )
pix.convertFromImage( qembed_findImage( name ) );
return pix;
#else
- KIconLoader loader;
- return loader.loadIcon( name, KIcon::Toolbar);
+ TDEIconLoader loader;
+ return loader.loadIcon( name, TDEIcon::Toolbar);
#endif
}
@@ -51,8 +51,8 @@ TQIconSet Util::getSystemIconSet( const TQString& name )
pix.convertFromImage( qembed_findImage( name ) );
return TQIconSet( pix );
#else
- KIconLoader loader;
- return loader.loadIconSet( name, KIcon::Toolbar);
+ TDEIconLoader loader;
+ return loader.loadIconSet( name, TDEIcon::Toolbar);
#endif
}