summaryrefslogtreecommitdiffstats
path: root/quanta/components/tableeditor/tableitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /quanta/components/tableeditor/tableitem.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/components/tableeditor/tableitem.h')
-rw-r--r--quanta/components/tableeditor/tableitem.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/quanta/components/tableeditor/tableitem.h b/quanta/components/tableeditor/tableitem.h
index 1eff7f59..88c94e20 100644
--- a/quanta/components/tableeditor/tableitem.h
+++ b/quanta/components/tableeditor/tableitem.h
@@ -17,7 +17,7 @@
#ifndef TABLEITEM_H
#define TABLEITEM_H
-#include <qtable.h>
+#include <tqtable.h>
#include <kdeversion.h>
class TableItem : public QTableItem
@@ -28,17 +28,17 @@ private:
bool m_header;
public:
// Standard constructors copied from QTableItem
- TableItem(QTable* table, EditType et);
- TableItem(QTable* table, EditType et, const QString& text);
- TableItem (QTable* table, EditType et, const QString& text, const QPixmap& p);
- // Use QTextEdit instead of standard QLineEdit
- virtual QWidget* createEditor() const;
+ TableItem(TQTable* table, EditType et);
+ TableItem(TQTable* table, EditType et, const TQString& text);
+ TableItem (TQTable* table, EditType et, const TQString& text, const TQPixmap& p);
+ // Use TQTextEdit instead of standard QLineEdit
+ virtual TQWidget* createEditor() const;
// Get text from QTextEdit
- virtual void setContentFromEditor(QWidget *w);
+ virtual void setContentFromEditor(TQWidget *w);
// Paint cell - handle alignment (horizontal and vertical) and bold for header
- virtual void paint(QPainter* p, const QColorGroup& cg, const QRect& cr, bool selected);
- // Return A bit larger sizeHint because QTextEdit has some margin around
- virtual QSize sizeHint() const;
+ virtual void paint(TQPainter* p, const TQColorGroup& cg, const TQRect& cr, bool selected);
+ // Return A bit larger sizeHint because TQTextEdit has some margin around
+ virtual TQSize sizeHint() const;
// Get and set vertical aligment
Qt::AlignmentFlags vAlignment() {return m_valign;}
void setVAlignment(Qt::AlignmentFlags flags) {m_valign = flags;}