summaryrefslogtreecommitdiffstats
path: root/khtml/rendering/render_table.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /khtml/rendering/render_table.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/rendering/render_table.h')
-rw-r--r--khtml/rendering/render_table.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/khtml/rendering/render_table.h b/khtml/rendering/render_table.h
index 979b92187..a6de6cfaf 100644
--- a/khtml/rendering/render_table.h
+++ b/khtml/rendering/render_table.h
@@ -27,8 +27,8 @@
#ifndef RENDER_TABLE_H
#define RENDER_TABLE_H
-#include <qcolor.h>
-#include <qptrvector.h>
+#include <tqcolor.h>
+#include <tqptrvector.h>
#include "rendering/render_box.h"
#include "rendering/render_block.h"
@@ -78,7 +78,7 @@ public:
int paddingTop() const { return collapseBorders() ? 0 : RenderBlock::paddingTop(); }
int paddingBottom() const { return collapseBorders() ? 0 : RenderBlock::paddingBottom(); }
- const QColor &bgColor() const { return style()->backgroundColor(); }
+ const TQColor &bgColor() const { return style()->backgroundColor(); }
uint cellPadding() const { return padding; }
void setCellPadding( uint p ) { padding = p; }
@@ -103,7 +103,7 @@ public:
SelPointState & );
#ifdef ENABLE_DUMP
- virtual void dump(QTextStream &stream, const QString &ind) const;
+ virtual void dump(TQTextStream &stream, const TQString &ind) const;
#endif
struct ColumnStruct {
enum {
@@ -117,8 +117,8 @@ public:
ushort width; // the calculated position of the column
};
- QMemArray<int> columnPos;
- QMemArray<ColumnStruct> columns;
+ TQMemArray<int> columnPos;
+ TQMemArray<ColumnStruct> columns;
void splitColumn( int pos, int firstSpan );
void appendColumn( int span );
@@ -217,7 +217,7 @@ public:
SelPointState & );
#ifdef ENABLE_DUMP
- virtual void dump(QTextStream &stream, const QString &ind) const;
+ virtual void dump(TQTextStream &stream, const TQString &ind) const;
#endif
void addCell( RenderTableCell *cell, RenderTableRow *row );
@@ -228,7 +228,7 @@ public:
RenderTable *table() const { return static_cast<RenderTable *>(parent()); }
- typedef QMemArray<RenderTableCell *> Row;
+ typedef TQMemArray<RenderTableCell *> Row;
struct RowStruct {
Row *row;
RenderTableRow* rowRenderer;
@@ -273,8 +273,8 @@ public:
// this gets a cell grid data structure. changing the number of
// columns is done by the table
- QMemArray<RowStruct> grid;
- QMemArray<int> rowPos;
+ TQMemArray<RowStruct> grid;
+ TQMemArray<int> rowPos;
signed short cRow;
ushort cCol;
@@ -375,7 +375,7 @@ public:
CollapsedBorderValue collapsedRightBorder() const;
CollapsedBorderValue collapsedTopBorder() const;
CollapsedBorderValue collapsedBottomBorder() const;
- virtual void collectBorders(QValueList<CollapsedBorderValue>& borderStyles);
+ virtual void collectBorders(TQValueList<CollapsedBorderValue>& borderStyles);
virtual void updateFromElement();
@@ -388,7 +388,7 @@ public:
virtual void paint( PaintInfo& i, int tx, int ty);
- void paintCollapsedBorder(QPainter* p, int x, int y, int w, int h);
+ void paintCollapsedBorder(TQPainter* p, int x, int y, int w, int h);
void paintBackgroundsBehindCell(PaintInfo& i, int _tx, int _ty, RenderObject* backgroundObject);
virtual void close();
@@ -407,7 +407,7 @@ public:
RenderTableSection *section() const { return static_cast<RenderTableSection *>(parent()->parent()); }
#ifdef ENABLE_DUMP
- virtual void dump(QTextStream &stream, const QString &ind) const;
+ virtual void dump(TQTextStream &stream, const TQString &ind) const;
#endif
bool widthChanged() {
@@ -461,7 +461,7 @@ public:
virtual void updateFromElement();
#ifdef ENABLE_DUMP
- virtual void dump(QTextStream &stream, const QString& ind) const;
+ virtual void dump(TQTextStream &stream, const TQString& ind) const;
#endif
int span() const { return m_span; }