summaryrefslogtreecommitdiffstats
path: root/kregexpeditor
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
parente6b6046f50ea600fc78e00071e2a79e3c8c08ccd (diff)
downloadtdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.tar.gz
tdeutils-34ec7cf1e70300eb43f3822ce3261893f9f8ace6.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kregexpeditor')
-rw-r--r--kregexpeditor/kregexpeditorprivate.cpp2
-rw-r--r--kregexpeditor/regexpbuttons.cpp4
-rw-r--r--kregexpeditor/util.cpp10
3 files changed, 8 insertions, 8 deletions
diff --git a/kregexpeditor/kregexpeditorprivate.cpp b/kregexpeditor/kregexpeditorprivate.cpp
index 269e8e5..147e348 100644
--- a/kregexpeditor/kregexpeditorprivate.cpp
+++ b/kregexpeditor/kregexpeditorprivate.cpp
@@ -174,7 +174,7 @@ KRegExpEditorPrivate::KRegExpEditorPrivate(TQWidget *parent, const char *name)
#ifdef TQT_ONLY
TQPixmap pix( "icons/error.png" );
#else
- TQPixmap pix = TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/error.png") ), KIcon::Toolbar );
+ TQPixmap pix = TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/error.png") ), TDEIcon::Toolbar );
#endif
_error = new TQLabel( this );
_error->setPixmap( pix );
diff --git a/kregexpeditor/regexpbuttons.cpp b/kregexpeditor/regexpbuttons.cpp
index b450d84..62500c8 100644
--- a/kregexpeditor/regexpbuttons.cpp
+++ b/kregexpeditor/regexpbuttons.cpp
@@ -53,7 +53,7 @@ RegExpButtons::RegExpButtons( TQWidget *parent, const char *name )
TQPixmap pix;
pix.convertFromImage( qembed_findImage( "select" ) );
#else
- TQPixmap pix = TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/select.png") ), KIcon::Toolbar );
+ TQPixmap pix = TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/select.png") ), TDEIcon::Toolbar );
#endif
_selectBut->setPixmap( pix );
@@ -159,7 +159,7 @@ DoubleClickButton* RegExpButtons::insert(RegExpType tp, const char* name, TQStri
pix.convertFromImage( qembed_findImage( TQString::fromLatin1( name ) ) );
#else
TQPixmap pix = TDEGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/")+TQString::fromLatin1(name) +
- TQString::fromLatin1(".png") ), KIcon::Toolbar );
+ TQString::fromLatin1(".png") ), TDEIcon::Toolbar );
#endif
DoubleClickButton* but = new DoubleClickButton( pix, this, "RegExpButtons::but");
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
}