From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: 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 --- src/modules/options/optw_proxy.h | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) (limited to 'src/modules/options/optw_proxy.h') 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); -- cgit v1.2.1