summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/resultview.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui/resultview.h')
-rw-r--r--klinkstatus/src/ui/resultview.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/klinkstatus/src/ui/resultview.h b/klinkstatus/src/ui/resultview.h
index e6d3e789..43a52427 100644
--- a/klinkstatus/src/ui/resultview.h
+++ b/klinkstatus/src/ui/resultview.h
@@ -21,9 +21,9 @@
#ifndef RESULTVIEW_H
#define RESULTVIEW_H
-#include <qvaluevector.h>
-#include <qpopupmenu.h>
-#include <qstringlist.h>
+#include <tqvaluevector.h>
+#include <tqpopupmenu.h>
+#include <tqstringlist.h>
class KURL;
@@ -38,10 +38,10 @@ class ResultView
{
public:
- static const QString URL_LABEL;
- static const QString STATUS_LABEL;
- static const QString MARKUP_LABEL;
- static const QString LINK_LABEL_LABEL;
+ static const TQString URL_LABEL;
+ static const TQString STATUS_LABEL;
+ static const TQString MARKUP_LABEL;
+ static const TQString LINK_LABEL_LABEL;
enum Status {
none = 0,
@@ -60,7 +60,7 @@ public:
virtual void showAll() = 0;
//virtual void ensureCellVisible(int row, int col) = 0;
- virtual void setColumns(QStringList const& columns);
+ virtual void setColumns(TQStringList const& columns);
static bool displayableWithStatus(LinkStatus const* ls, Status const& status);
int numberOfColumns() const { return number_of_columns_; }
@@ -73,11 +73,11 @@ public:
protected:
//virtual bool textFitsInCell(int row, int col) const = 0;
virtual bool isEmpty() const = 0;
- virtual void loadContextTableMenu(QValueVector<KURL> const& referrers, bool is_root = false) = 0;
+ virtual void loadContextTableMenu(TQValueVector<KURL> const& referrers, bool is_root = false) = 0;
protected slots:
- //virtual void slotPopupContextMenu(int row, int col, const QPoint& pos) = 0;
+ //virtual void slotPopupContextMenu(int row, int col, const TQPoint& pos) = 0;
virtual void slotCopyUrlToClipboard() const = 0;
virtual void slotCopyParentUrlToClipboard() const = 0;
virtual void slotCopyCellTextToClipboard() const = 0;
@@ -88,13 +88,13 @@ protected slots:
virtual void slotViewParentUrlInBrowser() = 0;
protected:
- QStringList columns_;
+ TQStringList columns_;
int col_status_;
int col_label_;
int col_url_;
int col_markup_; // optional
- QPopupMenu context_table_menu_;
- QPopupMenu* sub_menu_;
+ TQPopupMenu context_table_menu_;
+ TQPopupMenu* sub_menu_;
CellToolTip* cell_tip_;
private:
@@ -112,14 +112,14 @@ public:
virtual void setColumnIndex(int i);
virtual int columnIndex() const;
- virtual QString toolTip() const = 0;
+ virtual TQString toolTip() const = 0;
LinkStatus const* linkStatus() const;
protected:
- QColor const& textStatusColor() const;
- virtual void paint( QPainter *p, const QColorGroup &cg,
- const QRect &cr, bool selected ) = 0;
+ TQColor const& textStatusColor() const;
+ virtual void paint( TQPainter *p, const TQColorGroup &cg,
+ const TQRect &cr, bool selected ) = 0;
virtual void setText() = 0;
virtual void setPixmap() = 0;