summaryrefslogtreecommitdiffstats
path: root/kdeui/kguiitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/kguiitem.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kguiitem.h')
-rw-r--r--kdeui/kguiitem.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kdeui/kguiitem.h b/kdeui/kguiitem.h
index b1c9c1674..d5946b0d3 100644
--- a/kdeui/kguiitem.h
+++ b/kdeui/kguiitem.h
@@ -22,10 +22,10 @@
#ifndef __kguiitem_h__
#define __kguiitem_h__
-#include <qstring.h>
-#include <qiconset.h>
-#include <qpixmap.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqiconset.h>
+#include <tqpixmap.h>
+#include <tqvaluelist.h>
#include <kicontheme.h>
#include <kglobal.h>
@@ -44,32 +44,32 @@ public:
// subtle bugs otherwise - the icon name, tooltip and whatsthis text
// get changed behind your back if you do 'setButtonFoo( "Bar" );'
// It gives the wrong impression that you just change the text.
- KGuiItem( const QString &text,
- const QString &iconName = QString::null,
- const QString &toolTip = QString::null,
- const QString &whatsThis = QString::null );
+ KGuiItem( const TQString &text,
+ const TQString &iconName = TQString::null,
+ const TQString &toolTip = TQString::null,
+ const TQString &whatsThis = TQString::null );
- KGuiItem( const QString &text, const QIconSet &iconSet,
- const QString &toolTip = QString::null,
- const QString &whatsThis = QString::null );
+ KGuiItem( const TQString &text, const TQIconSet &iconSet,
+ const TQString &toolTip = TQString::null,
+ const TQString &whatsThis = TQString::null );
KGuiItem( const KGuiItem &rhs );
KGuiItem &operator=( const KGuiItem &rhs );
~KGuiItem();
- QString text() const;
- QString plainText() const;
+ TQString text() const;
+ TQString plainText() const;
#ifndef KDE_NO_COMPAT
- QIconSet iconSet( KIcon::Group, int size = 0, KInstance* instance = KGlobal::instance()) const;
- QIconSet iconSet() const { return iconSet( KIcon::Small ); }
+ TQIconSet iconSet( KIcon::Group, int size = 0, KInstance* instance = KGlobal::instance()) const;
+ TQIconSet iconSet() const { return iconSet( KIcon::Small ); }
#else
- QIconSet iconSet( KIcon::Group=KIcon::Small, int size = 0, KInstance* instance = KGlobal::instance()) const;
+ TQIconSet iconSet( KIcon::Group=KIcon::Small, int size = 0, KInstance* instance = KGlobal::instance()) const;
#endif
- QString iconName() const;
- QString toolTip() const;
- QString whatsThis() const;
+ TQString iconName() const;
+ TQString toolTip() const;
+ TQString whatsThis() const;
bool isEnabled() const;
/**
* returns whether an icon is defined, doesn't tell if it really exists
@@ -79,11 +79,11 @@ public:
bool hasIconSet() const { return hasIcon(); }
#endif
- void setText( const QString &text );
- void setIconSet( const QIconSet &iconset );
- void setIconName( const QString &iconName );
- void setToolTip( const QString &tooltip );
- void setWhatsThis( const QString &whatsThis );
+ void setText( const TQString &text );
+ void setIconSet( const TQIconSet &iconset );
+ void setIconName( const TQString &iconName );
+ void setToolTip( const TQString &tooltip );
+ void setWhatsThis( const TQString &whatsThis );
void setEnabled( bool enable );
private: