diff options
Diffstat (limited to 'kexi/widget/tableview/kexiinputtableedit.cpp')
-rw-r--r-- | kexi/widget/tableview/kexiinputtableedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/widget/tableview/kexiinputtableedit.cpp b/kexi/widget/tableview/kexiinputtableedit.cpp index d057f517..1b834fe9 100644 --- a/kexi/widget/tableview/kexiinputtableedit.cpp +++ b/kexi/widget/tableview/kexiinputtableedit.cpp @@ -22,11 +22,11 @@ #include <tqregexp.h> #include <tqevent.h> -#include <layout.h> +#include <tqlayout.h> #include <tqtimer.h> #include <tqpainter.h> #include <tqapplication.h> -#include <clipboard.h> +#include <tqclipboard.h> #include <tqtooltip.h> #include <kglobal.h> @@ -47,7 +47,7 @@ class MyLineEdit : public KLineEdit {} protected: virtual void drawFrame ( TQPainter * p ) { - p->setPen( TQPen( colorGroup().text() ) ); + p->setPen( TQPen( tqcolorGroup().text() ) ); TQRect r = rect(); p->moveTo( r.topLeft() ); p->lineTo( r.topRight() ); @@ -100,7 +100,7 @@ void KexiInputTableEdit::init() m_lineedit = new MyLineEdit(this, "KexiInputTableEdit-KLineEdit"); setViewWidget(m_lineedit); if (align_right) - m_lineedit->setAlignment(AlignRight); + m_lineedit->tqsetAlignment(AlignRight); // m_cview->setFrame(false); // m_cview->setFrameStyle( TQFrame::Plain | TQFrame::Box ); // m_cview->setLineWidth( 1 ); @@ -222,7 +222,7 @@ TQString KexiInputTableEdit::valueToText(KexiDB::Field* field, const TQVariant& void KexiInputTableEdit::paintEvent ( TQPaintEvent * /*e*/ ) { TQPainter p(this); - p.setPen( TQPen( colorGroup().text() ) ); + p.setPen( TQPen( tqcolorGroup().text() ) ); p.drawRect( rect() ); } |