From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksim/generalprefs.h | 124 ++++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) (limited to 'ksim/generalprefs.h') diff --git a/ksim/generalprefs.h b/ksim/generalprefs.h index b163dac..3b861a8 100644 --- a/ksim/generalprefs.h +++ b/ksim/generalprefs.h @@ -20,8 +20,8 @@ #ifndef GENERAL_H #define GENERAL_H -#include -#include +#include +#include class QVBoxLayout; class QHBoxLayout; @@ -44,7 +44,7 @@ namespace KSim { Q_OBJECT public: - GeneralPrefs(QWidget *parent, const char *name=0); + GeneralPrefs(TQWidget *parent, const char *name=0); ~GeneralPrefs(); public slots: @@ -52,21 +52,21 @@ namespace KSim void readConfig(KSim::Config *); private: - QGridLayout *m_mainLayout; - QGroupBox *m_sizeBox; - QLabel *m_sizeHLabel; + TQGridLayout *m_mainLayout; + TQGroupBox *m_sizeBox; + TQLabel *m_sizeHLabel; KIntSpinBox *m_sizeHSpin; - QLabel *m_sizeWLabel; + TQLabel *m_sizeWLabel; KIntSpinBox *m_sizeWSpin; - QCheckBox *m_displayFqdn; - QCheckBox *m_recolourThemes; + TQCheckBox *m_displayFqdn; + TQCheckBox *m_recolourThemes; }; class ClockPrefs : public QWidget { Q_OBJECT public: - ClockPrefs(QWidget *parent, const char *name=0); + ClockPrefs(TQWidget *parent, const char *name=0); ~ClockPrefs(); public slots: @@ -74,16 +74,16 @@ namespace KSim void readConfig(KSim::Config *); private: - QVBoxLayout *m_mainLayout; - QCheckBox *m_timeCheck; - QCheckBox *m_dateCheck; + TQVBoxLayout *m_mainLayout; + TQCheckBox *m_timeCheck; + TQCheckBox *m_dateCheck; }; class UptimePrefs : public QWidget { Q_OBJECT public: - UptimePrefs(QWidget *parent, const char *name=0); + UptimePrefs(TQWidget *parent, const char *name=0); ~UptimePrefs(); public slots: @@ -91,33 +91,33 @@ namespace KSim void readConfig(KSim::Config *); private slots: - void uptimeContextMenu(QPopupMenu *); + void uptimeContextMenu(TQPopupMenu *); void insertUptimeItem(); void removeUptimeItem(); private: - QVBoxLayout *m_mainLayout; - QHBoxLayout *m_subLayout; - QVBoxLayout *m_boxLayout; + TQVBoxLayout *m_mainLayout; + TQHBoxLayout *m_subLayout; + TQVBoxLayout *m_boxLayout; KComboBox *m_uptimeCombo; - QPushButton *m_uptimeAdd; - QCheckBox *m_uptimeCheck; - QLabel *m_formatLabel; - QLabel *m_uptimeInfo; - QGroupBox *m_uptimeBox; - QLabel *m_udLabel; - QLabel *m_uhLabel; - QLabel *m_umLabel; - QLabel *m_usLabel; - QIconSet m_addIcon; - QIconSet m_removeIcon; + TQPushButton *m_uptimeAdd; + TQCheckBox *m_uptimeCheck; + TQLabel *m_formatLabel; + TQLabel *m_uptimeInfo; + TQGroupBox *m_uptimeBox; + TQLabel *m_udLabel; + TQLabel *m_uhLabel; + TQLabel *m_umLabel; + TQLabel *m_usLabel; + TQIconSet m_addIcon; + TQIconSet m_removeIcon; }; class MemoryPrefs : public QWidget { Q_OBJECT public: - MemoryPrefs(QWidget *parent, const char *name=0); + MemoryPrefs(TQWidget *parent, const char *name=0); ~MemoryPrefs(); public slots: @@ -125,35 +125,35 @@ namespace KSim void readConfig(KSim::Config *); private slots: - void memoryContextMenu(QPopupMenu *); + void memoryContextMenu(TQPopupMenu *); void insertMemoryItem(); void removeMemoryItem(); private: - QVBoxLayout *m_mainLayout; - QHBoxLayout *m_subLayout; - QVBoxLayout *m_boxLayout; - QCheckBox *m_memCheck; - QLabel *m_memFormat; + TQVBoxLayout *m_mainLayout; + TQHBoxLayout *m_subLayout; + TQVBoxLayout *m_boxLayout; + TQCheckBox *m_memCheck; + TQLabel *m_memFormat; KComboBox *m_memCombo; - QLabel *m_memInfo; - QGroupBox *m_memBox; - QLabel *m_mtLabel; - QLabel *m_mfLabel; - QLabel *m_muLabel; - QLabel *m_mcLabel; - QLabel *m_mbLabel; - QLabel *m_msLabel; - QPushButton *m_memoryAdd; - QIconSet m_addIcon; - QIconSet m_removeIcon; + TQLabel *m_memInfo; + TQGroupBox *m_memBox; + TQLabel *m_mtLabel; + TQLabel *m_mfLabel; + TQLabel *m_muLabel; + TQLabel *m_mcLabel; + TQLabel *m_mbLabel; + TQLabel *m_msLabel; + TQPushButton *m_memoryAdd; + TQIconSet m_addIcon; + TQIconSet m_removeIcon; }; class SwapPrefs : public QWidget { Q_OBJECT public: - SwapPrefs(QWidget *parent, const char *name=0); + SwapPrefs(TQWidget *parent, const char *name=0); ~SwapPrefs(); public slots: @@ -161,25 +161,25 @@ namespace KSim void readConfig(KSim::Config *); private slots: - void swapContextMenu(QPopupMenu *); + void swapContextMenu(TQPopupMenu *); void insertSwapItem(); void removeSwapItem(); private: - QVBoxLayout *m_mainLayout; - QHBoxLayout *m_subLayout; - QVBoxLayout *m_boxLayout; - QCheckBox *m_swapCheck; - QLabel *m_swapFormat; + TQVBoxLayout *m_mainLayout; + TQHBoxLayout *m_subLayout; + TQVBoxLayout *m_boxLayout; + TQCheckBox *m_swapCheck; + TQLabel *m_swapFormat; KComboBox *m_swapCombo; - QLabel *m_swapInfo; - QGroupBox *m_swapBox; - QLabel *m_stLabel; - QLabel *m_sfLabel; - QLabel *m_suLabel; - QPushButton *m_swapAdd; - QIconSet m_addIcon; - QIconSet m_removeIcon; + TQLabel *m_swapInfo; + TQGroupBox *m_swapBox; + TQLabel *m_stLabel; + TQLabel *m_sfLabel; + TQLabel *m_suLabel; + TQPushButton *m_swapAdd; + TQIconSet m_addIcon; + TQIconSet m_removeIcon; }; } #endif -- cgit v1.2.1