summaryrefslogtreecommitdiffstats
path: root/src/password.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/password.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/password.h')
-rw-r--r--src/password.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/password.h b/src/password.h
index 8df3e0e..01453bf 100644
--- a/src/password.h
+++ b/src/password.h
@@ -24,6 +24,10 @@
#include <config.h>
#endif
+#ifdef Q_MOC_RUN
+#define HAVE_LIBGPGME
+#endif
+
#ifdef HAVE_LIBGPGME
#include <passwordlayout.h>
@@ -35,21 +39,23 @@
class Password : public PasswordLayout
{
Q_OBJECT
+ TQ_OBJECT
public:
- Password(QWidget *parent, const char *name = 0);
+ Password(TQWidget *tqparent, const char *name = 0);
~Password();
};
class PasswordDlg : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- PasswordDlg(QWidget *parent, const char *name = 0);
+ PasswordDlg(TQWidget *tqparent, const char *name = 0);
~PasswordDlg();
- QString key() const;
+ TQString key() const;
int type() const;
- void setKey(const QString& key);
+ void setKey(const TQString& key);
void setType(int type);
protected slots: