diff options
Diffstat (limited to 'certmanager/lib/ui/cryptoconfigmodule_p.h')
-rw-r--r-- | certmanager/lib/ui/cryptoconfigmodule_p.h | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/certmanager/lib/ui/cryptoconfigmodule_p.h b/certmanager/lib/ui/cryptoconfigmodule_p.h index 22145f323..3e71b8de1 100644 --- a/certmanager/lib/ui/cryptoconfigmodule_p.h +++ b/certmanager/lib/ui/cryptoconfigmodule_p.h @@ -32,9 +32,9 @@ #ifndef CRYPTOCONFIGMODULE_P_H #define CRYPTOCONFIGMODULE_P_H -#include <qtabwidget.h> -#include <qhbox.h> -#include <qcheckbox.h> +#include <tqtabwidget.h> +#include <tqhbox.h> +#include <tqcheckbox.h> #include <kurl.h> class KLineEdit; @@ -56,12 +56,12 @@ namespace Kleo { /** * A widget corresponding to a component in the crypto config */ - class CryptoConfigComponentGUI : public QWidget { + class CryptoConfigComponentGUI : public TQWidget { Q_OBJECT public: CryptoConfigComponentGUI( CryptoConfigModule* module, Kleo::CryptoConfigComponent* component, - QWidget* parent, const char* name = 0 ); + TQWidget* parent, const char* name = 0 ); bool save(); void load(); @@ -69,18 +69,18 @@ namespace Kleo { private: Kleo::CryptoConfigComponent* mComponent; - QValueList<CryptoConfigGroupGUI *> mGroupGUIs; + TQValueList<CryptoConfigGroupGUI *> mGroupGUIs; }; /** * A class managing widgets corresponding to a group in the crypto config */ - class CryptoConfigGroupGUI : public QObject { + class CryptoConfigGroupGUI : public TQObject { Q_OBJECT public: CryptoConfigGroupGUI( CryptoConfigModule* module, Kleo::CryptoConfigGroup* group, - QGridLayout * layout, QWidget* parent, const char* name = 0 ); + TQGridLayout * layout, TQWidget* parent, const char* name = 0 ); bool save(); void load(); @@ -88,7 +88,7 @@ namespace Kleo { private: Kleo::CryptoConfigGroup* mGroup; - QValueList<CryptoConfigEntryGUI *> mEntryGUIs; + TQValueList<CryptoConfigEntryGUI *> mEntryGUIs; }; /** @@ -99,19 +99,19 @@ namespace Kleo { public: static CryptoConfigEntryGUI* createEntryGUI( CryptoConfigModule* module, - Kleo::CryptoConfigEntry* entry, const QString& entryName, - QGridLayout * layout, QWidget* widget, const char* name = 0 ); + Kleo::CryptoConfigEntry* entry, const TQString& entryName, + TQGridLayout * layout, TQWidget* widget, const char* name = 0 ); }; /** * Base class for the widget managers tied to an entry in the crypto config */ - class CryptoConfigEntryGUI : public QObject { + class CryptoConfigEntryGUI : public TQObject { Q_OBJECT public: CryptoConfigEntryGUI( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, + const TQString& entryName, const char* name = 0 ); virtual ~CryptoConfigEntryGUI() {} @@ -119,7 +119,7 @@ namespace Kleo { void save() { Q_ASSERT( mChanged ); doSave(); mChanged = false; } void resetToDefault(); - QString description() const; + TQString description() const; bool isChanged() const { return mChanged; } signals: @@ -136,7 +136,7 @@ namespace Kleo { virtual void doLoad() = 0; Kleo::CryptoConfigEntry* mEntry; - QString mName; + TQString mName; bool mChanged; }; @@ -149,9 +149,9 @@ namespace Kleo { public: CryptoConfigEntryLineEdit( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); @@ -168,9 +168,9 @@ namespace Kleo { public: CryptoConfigEntryPath( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); @@ -187,9 +187,9 @@ namespace Kleo { public: CryptoConfigEntryDirPath( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); @@ -206,9 +206,9 @@ namespace Kleo { public: CryptoConfigEntryURL( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); @@ -225,9 +225,9 @@ namespace Kleo { public: CryptoConfigEntrySpinBox( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); private: @@ -244,13 +244,13 @@ namespace Kleo { public: CryptoConfigEntryCheckBox( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); private: - QCheckBox* mCheckBox; + TQCheckBox* mCheckBox; }; /** @@ -262,17 +262,17 @@ namespace Kleo { public: CryptoConfigEntryLDAPURL( CryptoConfigModule* module, Kleo::CryptoConfigEntry* entry, - const QString& entryName, - QGridLayout * layout, - QWidget* parent, const char* name = 0 ); + const TQString& entryName, + TQGridLayout * layout, + TQWidget* parent, const char* name = 0 ); virtual void doSave(); virtual void doLoad(); private slots: void slotOpenDialog(); private: void setURLList( const KURL::List& urlList ); - QLabel* mLabel; - QPushButton* mPushButton; + TQLabel* mLabel; + TQPushButton* mPushButton; KURL::List mURLList; }; } |