diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /ksysv/ksv_conf.h | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksv_conf.h')
-rw-r--r-- | ksysv/ksv_conf.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/ksysv/ksv_conf.h b/ksysv/ksv_conf.h index f17176a..a676270 100644 --- a/ksysv/ksv_conf.h +++ b/ksysv/ksv_conf.h @@ -15,11 +15,11 @@ #ifndef KSV_CONF_H #define KSV_CONF_H -#include <qstring.h> -#include <qpoint.h> -#include <qfont.h> -#include <qcolor.h> -#include <qmap.h> +#include <tqstring.h> +#include <tqpoint.h> +#include <tqfont.h> +#include <tqcolor.h> +#include <tqmap.h> #include "ksv_core.h" @@ -42,16 +42,16 @@ public: mShowLog = val; } - void setNewNormalColor (const QColor& color); - void setNewSelectedColor (const QColor& color); - void setChangedNormalColor (const QColor& color); - void setChangedSelectedColor (const QColor& color); + void setNewNormalColor (const TQColor& color); + void setNewSelectedColor (const TQColor& color); + void setChangedNormalColor (const TQColor& color); + void setChangedSelectedColor (const TQColor& color); - void setServiceFont (const QFont& font); - void setNumberFont (const QFont& font); + void setServiceFont (const TQFont& font); + void setNumberFont (const TQFont& font); - void setScriptPath (const QString& path); - void setRunlevelPath (const QString& path); + void setScriptPath (const TQString& path); + void setRunlevelPath (const TQString& path); inline void setConfigured( bool val = true ) { @@ -73,16 +73,16 @@ public: return mPanningFactor; } - inline const QFont& serviceFont () const { return mServiceFont; } - inline const QFont& numberFont () const { return mNumberFont; } + inline const TQFont& serviceFont () const { return mServiceFont; } + inline const TQFont& numberFont () const { return mNumberFont; } - QPoint position() const; + TQPoint position() const; - inline const QColor& newNormalColor () const { return mNewNormalColor; } - inline const QColor& newSelectedColor () const { return mNewSelectedColor; } + inline const TQColor& newNormalColor () const { return mNewNormalColor; } + inline const TQColor& newSelectedColor () const { return mNewSelectedColor; } - inline const QColor& changedNormalColor () const { return mChangedNormalColor; } - inline const QColor& changedSelectedColor () const { return mChangedSelectedColor; } + inline const TQColor& changedNormalColor () const { return mChangedNormalColor; } + inline const TQColor& changedSelectedColor () const { return mChangedSelectedColor; } bool showRunlevel (int index) const; void setShowRunlevel (int index, bool state); @@ -98,12 +98,12 @@ public: return mConfigured; } - inline const QString& scriptPath() const + inline const TQString& scriptPath() const { return mScriptPath; } - inline const QString& runlevelPath() const + inline const TQString& runlevelPath() const { return mRunlevelPath; } @@ -121,22 +121,22 @@ public: private: KSVConfig (); - QString mScriptPath; - QString mRunlevelPath; + TQString mScriptPath; + TQString mRunlevelPath; bool mShowLog; bool mConfigured; KConfig* mConfig; int mPanningFactor; - QColor mNewNormalColor, mNewSelectedColor; - QColor mChangedNormalColor, mChangedSelectedColor; + TQColor mNewNormalColor, mNewSelectedColor; + TQColor mChangedNormalColor, mChangedSelectedColor; bool mShowDescription; - QMap<int, bool> mShowRunlevel; + TQMap<int, bool> mShowRunlevel; - QFont mServiceFont; - QFont mNumberFont; + TQFont mServiceFont; + TQFont mNumberFont; }; #endif // KSV_CONF_H |