diff options
Diffstat (limited to 'libkpgp/kpgpui.h')
-rw-r--r-- | libkpgp/kpgpui.h | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/libkpgp/kpgpui.h b/libkpgp/kpgpui.h index 8cb41953f..1c24373a9 100644 --- a/libkpgp/kpgpui.h +++ b/libkpgp/kpgpui.h @@ -55,10 +55,11 @@ class KeyIDList; // needed by KeySelectionDialog class KDE_EXPORT PassphraseDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - PassphraseDialog( TQWidget *parent=0, const TQString &caption=TQString::null, - bool modal=true, const TQString &keyID=TQString::null); + PassphraseDialog( TQWidget *tqparent=0, const TQString &caption=TQString(), + bool modal=true, const TQString &keyID=TQString()); virtual ~PassphraseDialog(); const char * passphrase(); @@ -72,12 +73,13 @@ class KDE_EXPORT PassphraseDialog : public KDialogBase /** a widget for configuring the pgp interface. Can be included into a tabdialog. This widget by itself does not provide an apply/cancel button mechanism. */ -class KDE_EXPORT Config : public QWidget +class KDE_EXPORT Config : public TQWidget { Q_OBJECT + TQ_OBJECT public: - Config(TQWidget *parent = 0, const char *name = 0, bool encrypt =true); + Config(TQWidget *tqparent = 0, const char *name = 0, bool encrypt =true); virtual ~Config(); virtual void setValues(); @@ -102,6 +104,7 @@ class KDE_EXPORT Config : public QWidget class KDE_EXPORT KeySelectionDialog: public KeySelectionDialogSuper { Q_OBJECT + TQ_OBJECT enum TrustCheckMode { NoExpensiveTrustCheck, AllowExpensiveTrustCheck, @@ -113,12 +116,12 @@ class KDE_EXPORT KeySelectionDialog: public KeySelectionDialogSuper */ KeySelectionDialog( const KeyList& keyList, const TQString& title, - const TQString& text = TQString::null, + const TQString& text = TQString(), const KeyIDList& keyIds = KeyIDList(), const bool rememberChoice = false, const unsigned int allowedKeys = AllKeys, const bool extendedSelection = false, - TQWidget *parent=0, const char *name=0, + TQWidget *tqparent=0, const char *name=0, bool modal=true ); virtual ~KeySelectionDialog(); @@ -198,12 +201,13 @@ class KDE_EXPORT KeySelectionDialog: public KeySelectionDialogSuper static const int sCheckSelectionDelay; }; -class KDE_EXPORT KeyRequester: public QWidget +class KDE_EXPORT KeyRequester: public TQWidget { Q_OBJECT + TQ_OBJECT public: - KeyRequester( TQWidget * parent=0, bool multipleKeys=false, + KeyRequester( TQWidget * tqparent=0, bool multipleKeys=false, unsigned int allowedKeys=AllKeys, const char * name=0 ); virtual ~KeyRequester(); @@ -252,8 +256,9 @@ protected: class KDE_EXPORT PublicKeyRequester : public KeyRequester { Q_OBJECT + TQ_OBJECT public: - PublicKeyRequester( TQWidget * parent=0, bool multipleKeys=false, + PublicKeyRequester( TQWidget * tqparent=0, bool multipleKeys=false, unsigned int allowedKeys=PublicKeys, const char * name=0 ); virtual ~PublicKeyRequester(); @@ -271,8 +276,9 @@ protected: class KDE_EXPORT SecretKeyRequester : public KeyRequester { Q_OBJECT + TQ_OBJECT public: - SecretKeyRequester( TQWidget * parent=0, bool multipleKeys=false, + SecretKeyRequester( TQWidget * tqparent=0, bool multipleKeys=false, unsigned int allowedKeys=SecretKeys, const char * name=0 ); virtual ~SecretKeyRequester(); @@ -292,12 +298,13 @@ protected: class KDE_EXPORT KeyApprovalDialog: public KDialogBase { Q_OBJECT + TQ_OBJECT public: KeyApprovalDialog( const TQStringList&, const TQValueVector<KeyIDList>&, const int allowedKeys, - TQWidget *parent = 0, const char *name = 0, + TQWidget *tqparent = 0, const char *name = 0, bool modal = true ); virtual ~KeyApprovalDialog() {}; @@ -327,10 +334,11 @@ class KDE_EXPORT KeyApprovalDialog: public KDialogBase class KDE_EXPORT CipherTextDialog: public KDialogBase { Q_OBJECT + TQ_OBJECT public: CipherTextDialog( const TQCString & text, const TQCString & charset=0, - TQWidget *parent=0, const char *name=0, bool modal=true ); + TQWidget *tqparent=0, const char *name=0, bool modal=true ); virtual ~CipherTextDialog() {}; private: |