diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/libkicker/appletinfo.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/libkicker/appletinfo.h')
-rw-r--r-- | kicker/libkicker/appletinfo.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kicker/libkicker/appletinfo.h b/kicker/libkicker/appletinfo.h index b9ab187ba..f89bb6aea 100644 --- a/kicker/libkicker/appletinfo.h +++ b/kicker/libkicker/appletinfo.h @@ -24,18 +24,18 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef __appletinfo_h__ #define __appletinfo_h__ -#include <qmap.h> -#include <qptrlist.h> -#include <qstring.h> -#include <qvaluevector.h> +#include <tqmap.h> +#include <tqptrlist.h> +#include <tqstring.h> +#include <tqvaluevector.h> #include <kdemacros.h> class KDE_EXPORT AppletInfo { public: - typedef QValueVector<AppletInfo> List; - typedef QMap<QObject*, AppletInfo*> Dict; + typedef TQValueVector<AppletInfo> List; + typedef TQMap<TQObject*, AppletInfo*> Dict; enum AppletType { Undefined = 0, Applet = 1, @@ -44,24 +44,24 @@ class KDE_EXPORT AppletInfo Extension = 8, Button = BuiltinButton | SpecialButton }; - AppletInfo(const QString& desktopFile = QString::null, - const QString& configFile = QString::null, + AppletInfo(const TQString& desktopFile = TQString::null, + const TQString& configFile = TQString::null, const AppletType type = Undefined); - QString name() const { return m_name; } - QString comment() const { return m_comment; } - QString icon() const { return m_icon; } + TQString name() const { return m_name; } + TQString comment() const { return m_comment; } + TQString icon() const { return m_icon; } AppletType type() const { return m_type; } - QString library() const { return m_lib; } - QString desktopFile() const { return m_desktopFile; } - QString configFile() const { return m_configFile; } + TQString library() const { return m_lib; } + TQString desktopFile() const { return m_desktopFile; } + TQString configFile() const { return m_configFile; } bool isUniqueApplet() const { return m_unique; } bool isHidden() const { return m_hidden; } - void setConfigFile(QString cf) { m_configFile = cf; } + void setConfigFile(TQString cf) { m_configFile = cf; } bool operator<(const AppletInfo& rhs) const; bool operator>(const AppletInfo& rhs) const; @@ -71,19 +71,19 @@ class KDE_EXPORT AppletInfo void setType(AppletType type) { m_type = type; } protected: - void setName(QString name) { m_name = name; } - void setComment(QString comment) { m_comment = comment; } - void setIcon(QString icon) { m_icon = icon; } - void setLibrary(QString lib) { m_lib = lib; } + void setName(TQString name) { m_name = name; } + void setComment(TQString comment) { m_comment = comment; } + void setIcon(TQString icon) { m_icon = icon; } + void setLibrary(TQString lib) { m_lib = lib; } void setIsUnique(bool u) { m_unique = u; } private: - QString m_name; - QString m_comment; - QString m_icon; - QString m_lib; - QString m_desktopFile; - QString m_configFile; + TQString m_name; + TQString m_comment; + TQString m_icon; + TQString m_lib; + TQString m_desktopFile; + TQString m_configFile; AppletType m_type; bool m_unique; bool m_hidden; |