summaryrefslogtreecommitdiffstats
path: root/src/modules/options/optw_proxy.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/options/optw_proxy.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
TQt4 port kvirc
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/options/optw_proxy.h')
-rw-r--r--src/modules/options/optw_proxy.h39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/modules/options/optw_proxy.h b/src/modules/options/optw_proxy.h
index a6f18ada..73b4f78a 100644
--- a/src/modules/options/optw_proxy.h
+++ b/src/modules/options/optw_proxy.h
@@ -35,18 +35,18 @@ extern KVIRC_API KviProxyDataBase * g_pProxyDataBase;
class KviProxyOptionsListViewItem : public KviTalListViewItem
{
public:
- KviProxyOptionsListViewItem(KviTalListView *parent,const QPixmap &pm,KviProxy * prx);
+ KviProxyOptionsListViewItem(KviTalListView *tqparent,const TQPixmap &pm,KviProxy * prx);
~KviProxyOptionsListViewItem();
public:
KviProxy * m_pProxyData;
};
-class QLabel;
-class QLineEdit;
+class TQLabel;
+class TQLineEdit;
class KviIpEditor;
-class QCheckBox;
+class TQCheckBox;
class KviTalPopupMenu;
-class QComboBox;
+class TQComboBox;
#define KVI_OPTIONS_WIDGET_ICON_KviProxyOptionsWidget KVI_SMALLICON_PROXY
#define KVI_OPTIONS_WIDGET_NAME_KviProxyOptionsWidget __tr2qs_no_lookup("Proxy Hosts")
@@ -57,25 +57,26 @@ class QComboBox;
class KviProxyOptionsWidget : public KviOptionsWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KviProxyOptionsWidget(QWidget * parent);
+ KviProxyOptionsWidget(TQWidget * tqparent);
~KviProxyOptionsWidget();
protected:
KviTalListView * m_pListView;
- QLabel * m_pProxyLabel;
- QLineEdit * m_pProxyEdit;
- QLabel * m_pIpLabel;
+ TQLabel * m_pProxyLabel;
+ TQLineEdit * m_pProxyEdit;
+ TQLabel * m_pIpLabel;
KviIpEditor * m_pIpEditor;
- QLabel * m_pUserLabel;
- QLineEdit * m_pUserEdit;
- QLabel * m_pPassLabel;
- QLineEdit * m_pPassEdit;
- QLabel * m_pPortLabel;
- QLineEdit * m_pPortEdit;
- QLabel * m_pProtocolLabel;
- QComboBox * m_pProtocolBox;
+ TQLabel * m_pUserLabel;
+ TQLineEdit * m_pUserEdit;
+ TQLabel * m_pPassLabel;
+ TQLineEdit * m_pPassEdit;
+ TQLabel * m_pPortLabel;
+ TQLineEdit * m_pPortEdit;
+ TQLabel * m_pProtocolLabel;
+ TQComboBox * m_pProtocolBox;
KviTalPopupMenu * m_pContextPopup;
- QCheckBox * m_pIpV6Check;
+ TQCheckBox * m_pIpV6Check;
KviProxyOptionsListViewItem * m_pLastEditedItem;
private:
@@ -83,7 +84,7 @@ private:
void saveLastItem();
protected slots:
void listViewItemSelectionChanged(KviTalListViewItem *it);
- void listViewRightButtonPressed(KviTalListViewItem *it,const QPoint &pnt,int col);
+ void listViewRightButtonPressed(KviTalListViewItem *it,const TQPoint &pnt,int col);
void newProxy();
void removeCurrent();
void ipV6CheckToggled(bool bEnabled);