From 4304e8d9dab8e20513e38e71b0debdf6937b630c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 16 Apr 2011 23:01:29 +0000 Subject: Finish TQt4 port of kpowersave This enables both Qt3 and Qt4 builds git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1228282 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/detaileddialog.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/detaileddialog.h') diff --git a/src/detaileddialog.h b/src/detaileddialog.h index 3873030..59220cd 100644 --- a/src/detaileddialog.h +++ b/src/detaileddialog.h @@ -29,7 +29,7 @@ #include // other QT headers: -#include +#include // own headers: #include "hardware.h" @@ -51,10 +51,11 @@ class detaileddialog: public detailed_Dialog { Q_OBJECT + TQ_OBJECT public: //! default constructor - detaileddialog(HardwareInfo *_hwinfo, QPixmap *_pixmap, Settings *_set, QWidget *parent = 0, const char *name = 0); + detaileddialog(HardwareInfo *_hwinfo, TQPixmap *_pixmap, Settings *_set, TQWidget *tqparent = 0, const char *name = 0); //! default destructor ~detaileddialog(); @@ -85,29 +86,29 @@ private: Settings *config; //! pointer to the kpowersave class - QPixmap *pixmap; + TQPixmap *pixmap; //! the numbers of CPUs in the system int numOfCPUs; //! list of progressbars for battery information /*! - * This QValueList with type KProgress contains the list + * This TQValueList with type KProgress contains the list * of battery progress widgets. Each element represent * one battery or batteryslot */ - QValueList BatteryPBar; + TQValueList BatteryPBar; //! list of progressbars for CPU information /*! - * This QValueList with type KProgress contains the list + * This TQValueList with type KProgress contains the list * of CPU progress widgets. Each element represent one CPU. */ - QValueList ProcessorPBar; + TQValueList ProcessorPBar; - //! QGridLayout for Battery progress widgets - QGridLayout* BatteryGridLayout; - //! QGridLayout for Processor progress widgets - QGridLayout* ProcessorGridLayout; + //! TQGridLayout for Battery progress widgets + TQGridLayout* BatteryGridLayout; + //! TQGridLayout for Processor progress widgets + TQGridLayout* ProcessorGridLayout; }; #endif -- cgit v1.2.1