summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_ipeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_ipeditor.h')
-rw-r--r--src/kvirc/ui/kvi_ipeditor.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/kvirc/ui/kvi_ipeditor.h b/src/kvirc/ui/kvi_ipeditor.h
index 04574e6..3a39841 100644
--- a/src/kvirc/ui/kvi_ipeditor.h
+++ b/src/kvirc/ui/kvi_ipeditor.h
@@ -25,36 +25,37 @@
#include "kvi_settings.h"
-#include <qwidget.h>
-#include <qstring.h>
-#include <qframe.h>
+#include <tqwidget.h>
+#include <tqstring.h>
+#include <tqframe.h>
-class QLineEdit;
-class QLabel;
+class TQLineEdit;
+class TQLabel;
-class KVIRC_API KviIpEditor : public QFrame
+class KVIRC_API KviIpEditor : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
enum AddressType { IpV4 , IpV6 };
- KviIpEditor(QWidget * parent,AddressType = IpV4,const QString &ipAddr = QString::null,const char *name = 0);
+ KviIpEditor(TQWidget * tqparent,AddressType = IpV4,const TQString &ipAddr = TQString(),const char *name = 0);
~KviIpEditor();
private:
- QLabel * m_pLabel[7];
- QLineEdit * m_pEdit[8];
+ TQLabel * m_pLabel[7];
+ TQLineEdit * m_pEdit[8];
AddressType m_addrType;
public:
- bool setAddress(const QString &ipAddr);
- QString address() const;
+ bool setAddress(const TQString &ipAddr);
+ TQString address() const;
void setAddressType(AddressType addrType);
AddressType addressType() const;
bool hasEmptyFields() const;
void clear();
virtual void setEnabled(bool bEnabled);
protected:
- virtual bool eventFilter(QObject * o,QEvent *e);
- virtual void resizeEvent(QResizeEvent *e);
- virtual QSize sizeHint();
+ virtual bool eventFilter(TQObject * o,TQEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
+ virtual TQSize tqsizeHint();
private:
void recreateChildren();
};