summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_cryptcontroller.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_cryptcontroller.h')
-rw-r--r--src/kvirc/ui/kvi_cryptcontroller.h35
1 files changed, 19 insertions, 16 deletions
diff --git a/src/kvirc/ui/kvi_cryptcontroller.h b/src/kvirc/ui/kvi_cryptcontroller.h
index 1d6afcb6..17e26a46 100644
--- a/src/kvirc/ui/kvi_cryptcontroller.h
+++ b/src/kvirc/ui/kvi_cryptcontroller.h
@@ -26,17 +26,19 @@
#include "kvi_settings.h"
+#ifdef Q_MOC_RUN
+#define COMPILE_CRYPT_SUPPORT
+#endif // Q_MOC_RUN
+// TQt4 tqmoc bails out on this ??????
-// Qt4 moc bails out on this ??????
-
-#if defined(COMPILE_CRYPT_SUPPORT) || defined(Q_MOC_RUN)
- #include <qwidget.h>
+#if defined(COMPILE_CRYPT_SUPPORT) || defined(TQ_TQMOC_RUN)
+ #include <tqwidget.h>
#include "kvi_tal_listbox.h"
- #include <qpushbutton.h>
- #include <qcheckbox.h>
- #include <qlabel.h>
- #include <qlineedit.h>
+ #include <tqpushbutton.h>
+ #include <tqcheckbox.h>
+ #include <tqlabel.h>
+ #include <tqlineedit.h>
#include "kvi_styled_controls.h"
#include "kvi_crypt.h"
@@ -72,23 +74,24 @@
class KVIRC_API KviCryptController : public KviWindowToolWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviCryptController(QWidget * parent,KviWindowToolPageButton* button,const char * name,KviWindow * wnd,KviCryptSessionInfo * cur);
+ KviCryptController(TQWidget * tqparent,KviWindowToolPageButton* button,const char * name,KviWindow * wnd,KviCryptSessionInfo * cur);
~KviCryptController();
protected:
KviWindow * m_pWindow;
KviTalListBox * m_pListBox;
- QPushButton * m_pOkButton;
+ TQPushButton * m_pOkButton;
KviStyledCheckBox * m_pEnableCheck;
- QLabel * m_pDescriptionLabel;
- QLabel * m_pAuthorLabel;
+ TQLabel * m_pDescriptionLabel;
+ TQLabel * m_pAuthorLabel;
KviStyledCheckBox * m_pEnableEncrypt;
- QLabel * m_pEncryptKeyLabel;
- QLineEdit * m_pEncryptKeyEdit;
+ TQLabel * m_pEncryptKeyLabel;
+ TQLineEdit * m_pEncryptKeyEdit;
KviStyledCheckBox * m_pEncryptHexKeyCheck;
KviStyledCheckBox * m_pEnableDecrypt;
- QLabel * m_pDecryptKeyLabel;
- QLineEdit * m_pDecryptKeyEdit;
+ TQLabel * m_pDecryptKeyLabel;
+ TQLineEdit * m_pDecryptKeyEdit;
KviStyledCheckBox * m_pDecryptHexKeyCheck;
KviEngineListBoxItem * m_pLastItem;
KviCryptSessionInfo * m_pSessionInfo;