summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/util.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kregexpeditor/util.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/util.cpp')
-rw-r--r--kregexpeditor/util.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kregexpeditor/util.cpp b/kregexpeditor/util.cpp
index 8bff5de..d770488 100644
--- a/kregexpeditor/util.cpp
+++ b/kregexpeditor/util.cpp
@@ -19,22 +19,22 @@
#include "util.h"
#include <kiconloader.h>
#include <kstandarddirs.h>
-QPixmap Util::getKRegExpEditorIcon( const QString& name )
+TQPixmap Util::getKRegExpEditorIcon( const TQString& name )
{
#ifdef QT_ONLY
- QPixmap pix;
+ TQPixmap pix;
pix.convertFromImage( qembed_findImage(name) );
return pix;
#else
- return KGlobal::iconLoader()->loadIcon(locate("data", QString::fromLatin1("kregexpeditor/pics/") +name ),
+ return KGlobal::iconLoader()->loadIcon(locate("data", TQString::fromLatin1("kregexpeditor/pics/") +name ),
KIcon::Toolbar );
#endif
}
-QPixmap Util::getSystemIcon( const QString& name )
+TQPixmap Util::getSystemIcon( const TQString& name )
{
#ifdef QT_ONLY
- QPixmap pix;
+ TQPixmap pix;
pix.convertFromImage( qembed_findImage( name ) );
return pix;
#else
@@ -44,12 +44,12 @@ QPixmap Util::getSystemIcon( const QString& name )
}
-QIconSet Util::getSystemIconSet( const QString& name )
+TQIconSet Util::getSystemIconSet( const TQString& name )
{
#ifdef QT_ONLY
- QPixmap pix;
+ TQPixmap pix;
pix.convertFromImage( qembed_findImage( name ) );
- return QIconSet( pix );
+ return TQIconSet( pix );
#else
KIconLoader loader;
return loader.loadIconSet( name, KIcon::Toolbar);