diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/ktimemon/confdlg.h | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker-applets/ktimemon/confdlg.h')
-rw-r--r-- | kicker-applets/ktimemon/confdlg.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kicker-applets/ktimemon/confdlg.h b/kicker-applets/ktimemon/confdlg.h index d458bf2..25d0501 100644 --- a/kicker-applets/ktimemon/confdlg.h +++ b/kicker-applets/ktimemon/confdlg.h @@ -18,9 +18,9 @@ #ifndef CONFDLG_H #define CONFDLG_H -#include <qcolor.h> -#include <qcheckbox.h> -#include <qtabdialog.h> +#include <tqcolor.h> +#include <tqcheckbox.h> +#include <tqtabdialog.h> #include <kcolorbutton.h> #include <kcombobox.h> @@ -56,16 +56,16 @@ public: void update(); // get values from timemon unsigned getInterval() const { return intervalEdit->value(); } - QColor getKernelColour() const { return kernelCB->color(); } - QColor getUserColour() const { return userCB->color(); } - QColor getNiceColour() const { return niceCB->color(); } - QColor getIOWaitColour() const { return iowaitCB->color(); } - QColor getCachedColour() const { return cachedCB->color(); } - QColor getUsedColour() const { return usedCB->color(); } - QColor getBuffersColour() const { return buffersCB->color(); } - QColor getMKernelColour() const { return mkernelCB->color(); } - QColor getSwapColour() const { return swapCB->color(); } - QColor getBgColour() const { return bgCB->color(); } + TQColor getKernelColour() const { return kernelCB->color(); } + TQColor getUserColour() const { return userCB->color(); } + TQColor getNiceColour() const { return niceCB->color(); } + TQColor getIOWaitColour() const { return iowaitCB->color(); } + TQColor getCachedColour() const { return cachedCB->color(); } + TQColor getUsedColour() const { return usedCB->color(); } + TQColor getBuffersColour() const { return buffersCB->color(); } + TQColor getMKernelColour() const { return mkernelCB->color(); } + TQColor getSwapColour() const { return swapCB->color(); } + TQColor getBgColour() const { return bgCB->color(); } bool getAutoScale() const { return autoScaleBox->isChecked(); } unsigned getPageScale() const { return pageScaleEdit->value(); } @@ -73,10 +73,10 @@ public: unsigned getCtxScale() const { return ctxScaleEdit->value(); } unsigned getMouseAction(int i) const; - QString getMouseActionCommand(int i) const { return mouseLE[i]->lineEdit()->text(); } + TQString getMouseActionCommand(int i) const { return mouseLE[i]->lineEdit()->text(); } private slots: - void updateSampleWidget(const QColor &); // update colours in configuration + void updateSampleWidget(const TQColor &); // update colours in configuration void toggle(bool state); // enable/disable scales void mouseCommandEnable(); @@ -84,8 +84,8 @@ private: KTimeMon *timemon; KIntNumInput *intervalEdit, *swapScaleEdit, *pageScaleEdit, *ctxScaleEdit; - QLineEdit *procFileEdit; - QCheckBox *autoScaleBox; + TQLineEdit *procFileEdit; + TQCheckBox *autoScaleBox; KColorButton *kernelCB, *userCB, *niceCB, *iowaitCB; KColorButton *buffersCB, *usedCB, *cachedCB, *mkernelCB; KColorButton *swapCB, *bgCB; |