diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /klinkstatus/src/ui/resultview.h | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klinkstatus/src/ui/resultview.h')
-rw-r--r-- | klinkstatus/src/ui/resultview.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/klinkstatus/src/ui/resultview.h b/klinkstatus/src/ui/resultview.h index 43a52427..d63fb8c0 100644 --- a/klinkstatus/src/ui/resultview.h +++ b/klinkstatus/src/ui/resultview.h @@ -27,7 +27,7 @@ class KURL; -class LinkStatus; +class LinktqStatus; class CellToolTip; @@ -43,7 +43,7 @@ public: static const TQString MARKUP_LABEL; static const TQString LINK_LABEL_LABEL; - enum Status { + enum tqStatus { none = 0, good, bad, @@ -54,14 +54,14 @@ public: ResultView(); virtual ~ResultView(); - //virtual void insertResult(LinkStatus const* linkstatus) = 0; + //virtual void insertResult(LinktqStatus const* linkstatus) = 0; virtual void clear() = 0; - virtual void show(Status const& status) = 0; + virtual void show(tqStatus const& status) = 0; virtual void showAll() = 0; //virtual void ensureCellVisible(int row, int col) = 0; virtual void setColumns(TQStringList const& columns); - static bool displayableWithStatus(LinkStatus const* ls, Status const& status); + static bool displayableWithtqStatus(LinktqStatus const* ls, tqStatus const& status); int numberOfColumns() const { return number_of_columns_; } @@ -105,7 +105,7 @@ private: class ResultViewItem { public: - ResultViewItem(LinkStatus const* linkstatus, + ResultViewItem(LinktqStatus const* linkstatus, int column_index); virtual ~ResultViewItem(); @@ -113,7 +113,7 @@ public: virtual int columnIndex() const; virtual TQString toolTip() const = 0; - LinkStatus const* linkStatus() const; + LinktqStatus const* linktqStatus() const; protected: @@ -125,9 +125,9 @@ protected: protected: - LinkStatus* ls_; + LinktqStatus* ls_; int column_index_; - int alignment_; + int tqalignment_; }; |