summaryrefslogtreecommitdiffstats
path: root/libkpgp/kpgpui.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkpgp/kpgpui.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkpgp/kpgpui.h')
-rw-r--r--libkpgp/kpgpui.h32
1 files changed, 20 insertions, 12 deletions
diff --git a/libkpgp/kpgpui.h b/libkpgp/kpgpui.h
index 8cb41953..1c24373a 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: