summaryrefslogtreecommitdiffstats
path: root/src/password.h
diff options
context:
space:
mode:
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: