diff options
Diffstat (limited to 'quanta/components/tableeditor/tableitem.h')
-rw-r--r-- | quanta/components/tableeditor/tableitem.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/quanta/components/tableeditor/tableitem.h b/quanta/components/tableeditor/tableitem.h index 88c94e20..66d3b85b 100644 --- a/quanta/components/tableeditor/tableitem.h +++ b/quanta/components/tableeditor/tableitem.h @@ -20,31 +20,31 @@ #include <tqtable.h> #include <kdeversion.h> -class TableItem : public QTableItem +class TableItem : public TQTableItem { private: - Qt::AlignmentFlags m_halign; - Qt::AlignmentFlags m_valign; + TQt::AlignmentFlags m_halign; + TQt::AlignmentFlags m_valign; bool m_header; public: - // Standard constructors copied from QTableItem + // Standard constructors copied from TQTableItem 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 + // Use TQTextEdit instead of standard TQLineEdit virtual TQWidget* createEditor() const; - // Get text from QTextEdit + // Get text from TQTextEdit virtual void setContentFromEditor(TQWidget *w); - // Paint cell - handle alignment (horizontal and vertical) and bold for header + // Paint cell - handle tqalignment (horizontal and vertical) and bold for header 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; + // Return A bit larger tqsizeHint because TQTextEdit has some margin around + virtual TQSize tqsizeHint() const; // Get and set vertical aligment - Qt::AlignmentFlags vAlignment() {return m_valign;} - void setVAlignment(Qt::AlignmentFlags flags) {m_valign = flags;} + TQt::AlignmentFlags vAlignment() {return m_valign;} + void setVAlignment(TQt::AlignmentFlags flags) {m_valign = flags;} // Get and set horizontal aligment - Qt::AlignmentFlags alignment() {return m_halign;} - void setAlignment(Qt::AlignmentFlags flags) {m_halign = flags;} + TQt::AlignmentFlags tqalignment() {return m_halign;} + void tqsetAlignment(TQt::AlignmentFlags flags) {m_halign = flags;} // Get and set header status (use true for TH, false for TD) bool header() {return m_header;} void setHeader(bool h) {m_header = h;} |