summaryrefslogtreecommitdiffstats
path: root/src/modules/links/linkswindow.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/links/linkswindow.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/links/linkswindow.h')
-rw-r--r--src/modules/links/linkswindow.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/modules/links/linkswindow.h b/src/modules/links/linkswindow.h
index b9cba76e..d21a6045 100644
--- a/src/modules/links/linkswindow.h
+++ b/src/modules/links/linkswindow.h
@@ -31,7 +31,7 @@
#include "kvi_tal_listview.h"
#include "kvi_tal_popupmenu.h"
-#include <qtoolbutton.h>
+#include <tqtoolbutton.h>
class KviThemedLabel;
@@ -39,7 +39,7 @@ class KviThemedLabel;
typedef struct _KviLink
{
KviStr host;
- KviStr parent;
+ KviStr tqparent;
int hops;
KviStr description;
} KviLink;
@@ -48,37 +48,38 @@ typedef struct _KviLink
class KviLinksWindow : public KviWindow, public KviExternalServerDataParser
{
Q_OBJECT
+ TQ_OBJECT
public:
KviLinksWindow(KviFrame * lpFrm,KviConsole * lpConsole);
~KviLinksWindow();
protected:
- QSplitter * m_pVertSplitter;
- QSplitter * m_pTopSplitter;
+ TQSplitter * m_pVertSplitter;
+ TQSplitter * m_pTopSplitter;
KviTalListView * m_pListView;
KviPointerList<KviLink> * m_pLinkList;
KviTalPopupMenu * m_pHostPopup;
- QString m_szRootServer;
- QToolButton * m_pRequestButton;
+ TQString m_szRootServer;
+ TQToolButton * m_pRequestButton;
KviThemedLabel * m_pInfoLabel;
public: // Methods
virtual void control(int msg);
virtual void processData(KviIrcMessage * msg);
virtual void die();
protected:
- virtual QPixmap * myIconPtr();
+ virtual TQPixmap * myIconPtr();
virtual void fillCaptionBuffers();
virtual void applyOptions();
- virtual void resizeEvent(QResizeEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
virtual void getBaseLogFileName(KviStr &buffer);
// virtual void setProperties(KviWindowProperty *p);
// virtual void saveProperties();
protected slots:
- void showHostPopup(KviTalListViewItem *i,const QPoint &p,int c);
+ void showHostPopup(KviTalListViewItem *i,const TQPoint &p,int c);
void hostPopupClicked(int id);
void requestLinks();
void connectionStateChange();
public:
- virtual QSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
private:
void reset();
void endOfLinks();