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 /kcontrol/info/memory.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 'kcontrol/info/memory.h')
-rw-r--r-- | kcontrol/info/memory.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/kcontrol/info/memory.h b/kcontrol/info/memory.h index 7f6778c75..975b851f5 100644 --- a/kcontrol/info/memory.h +++ b/kcontrol/info/memory.h @@ -1,12 +1,12 @@ #ifndef _MEMORY_H_KDEINFO_INCLUDED_ #define _MEMORY_H_KDEINFO_INCLUDED_ -#include <qwidget.h> -#include <qframe.h> -#include <qlabel.h> -#include <qtabdialog.h> -#include <qpushbutton.h> -#include <qtimer.h> +#include <tqwidget.h> +#include <tqframe.h> +#include <tqlabel.h> +#include <tqtabdialog.h> +#include <tqpushbutton.h> +#include <tqtimer.h> #include <kcmodule.h> #include <kaboutdata.h> @@ -20,35 +20,35 @@ typedef unsigned long long t_memsize; typedef unsigned long t_memsize; #endif -#define COLOR_USED_MEMORY QColor(255,0,0) -#define COLOR_USED_SWAP QColor(255,134,64) -#define COLOR_FREE_MEMORY QColor(127,255,212) +#define COLOR_USED_MEMORY TQColor(255,0,0) +#define COLOR_USED_SWAP TQColor(255,134,64) +#define COLOR_FREE_MEMORY TQColor(127,255,212) class KMemoryWidget:public KCModule { Q_OBJECT public: - KMemoryWidget(QWidget * parent, const char *name = 0); + KMemoryWidget(TQWidget * parent, const char *name = 0); ~KMemoryWidget(); - QString quickHelp() const; + TQString quickHelp() const; private: - QString Not_Available_Text; - QTimer *timer; + TQString Not_Available_Text; + TQTimer *timer; bool ram_colors_initialized, swap_colors_initialized, all_colors_initialized; - QColor ram_colors[4]; - QString ram_text[4]; + TQColor ram_colors[4]; + TQString ram_text[4]; - QColor swap_colors[2]; - QString swap_text[2]; + TQColor swap_colors[2]; + TQString swap_text[2]; - QColor all_colors[3]; - QString all_text[3]; + TQColor all_colors[3]; + TQString all_text[3]; void update(); @@ -56,8 +56,8 @@ class KMemoryWidget:public KCModule { int count, t_memsize total, t_memsize *used, - QColor *color, - QString *text); + TQColor *color, + TQString *text); public slots: void update_Values(); }; |