summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/ui/tablelinkstatus.h
diff options
context:
space:
mode:
Diffstat (limited to 'klinkstatus/src/ui/tablelinkstatus.h')
-rw-r--r--klinkstatus/src/ui/tablelinkstatus.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/klinkstatus/src/ui/tablelinkstatus.h b/klinkstatus/src/ui/tablelinkstatus.h
index 3f7b5cb9..2d320619 100644
--- a/klinkstatus/src/ui/tablelinkstatus.h
+++ b/klinkstatus/src/ui/tablelinkstatus.h
@@ -46,9 +46,10 @@ class TableItem;
class TableLinkstatus: public TQTable, public ResultView
{
Q_OBJECT
+ TQ_OBJECT
public:
- TableLinkstatus(TQWidget * parent = 0, const char * name = 0,
+ TableLinkstatus(TQWidget * tqparent = 0, const char * name = 0,
int column_index_status = 1,
int column_index_label = 2,
int column_index_URL = 3);
@@ -57,12 +58,12 @@ public:
virtual void setColumns(TQStringList const& columns);
/* Insere uma nova entrada no fim da tabela */
- virtual void insertResult(LinkStatus const* linkstatus);
+ virtual void insertResult(LinktqStatus const* linkstatus);
virtual void clear();
void removeColunas();
- virtual void show(ResultView::Status const& status);
+ virtual void show(ResultView::tqStatus const& status);
virtual void showAll();
@@ -89,7 +90,7 @@ private slots:
private:
- vector<TableItem*> generateRowOfTableItems(LinkStatus const* linkstatus);
+ vector<TableItem*> generateRowOfTableItems(LinktqStatus const* linkstatus);
void insereLinha(vector<TableItem*> items);
private:
@@ -109,18 +110,18 @@ class TableItem: public TQTableItem, public ResultViewItem
public:
TableItem(TQTable* table, EditType et,
- LinkStatus const* linkstatus,
- int column_index, int alignment = Qt::AlignLeft);
+ LinktqStatus const* linkstatus,
+ int column_index, int tqalignment = TQt::AlignLeft);
virtual ~TableItem();
virtual void setColumnIndex(int i);
virtual int columnIndex() const;
- void setAlignment(int aFlags);
- virtual int alignment() const;
+ void tqsetAlignment(int aFlags);
+ virtual int tqalignment() const;
virtual TQString toolTip() const = 0;
- //LinkStatus const* const linkStatus() const;
+ //LinktqStatus const* const linktqStatus() const;
protected:
@@ -132,9 +133,9 @@ protected:
private:
- //LinkStatus* ls_;
+ //LinktqStatus* ls_;
//int column_index_;
- int alignment_;
+ int tqalignment_;
};
@@ -143,7 +144,7 @@ class TableItemURL: public TableItem
public:
TableItemURL(TQTable* table, EditType et,
- LinkStatus const* linkstatus, int column_index = 3);
+ LinktqStatus const* linkstatus, int column_index = 3);
//virtual ~TableItemURL(){};
virtual TQString toolTip() const;
@@ -157,13 +158,13 @@ protected:
};
-class TableItemStatus: public TableItem
+class TableItemtqStatus: public TableItem
{
public:
- TableItemStatus(TQTable* table, EditType et,
- LinkStatus const* linkstatus, int column_index = 1);
- //virtual ~TableItemStatus(){};
+ TableItemtqStatus(TQTable* table, EditType et,
+ LinktqStatus const* linkstatus, int column_index = 1);
+ //virtual ~TableItemtqStatus(){};
virtual TQString toolTip() const;
@@ -180,7 +181,7 @@ class TableItemNome: public TableItem
public:
TableItemNome(TQTable* table, EditType et,
- LinkStatus const* linkstatus, int column_index = 2);
+ LinktqStatus const* linkstatus, int column_index = 2);
//virtual ~TableItemNome(){};
virtual TQString toolTip() const;