summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/sklineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/sklineedit.cpp')
-rw-r--r--superkaramba/src/sklineedit.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/sklineedit.cpp b/superkaramba/src/sklineedit.cpp
index 7047dde..f923fef 100644
--- a/superkaramba/src/sklineedit.cpp
+++ b/superkaramba/src/sklineedit.cpp
@@ -24,8 +24,8 @@
SKLineEdit::SKLineEdit(TQWidget *w, Input *i) : TQLineEdit(w), m_input(i)
{
- frameColor = Qt::gray;
- setBackgroundColor(Qt::white);
+ frameColor = TQt::gray;
+ setBackgroundColor(TQt::white);
}
SKLineEdit::~SKLineEdit()
@@ -46,13 +46,13 @@ void SKLineEdit::drawContents(TQPainter *p)
void SKLineEdit::setFrameColor(TQColor c)
{
frameColor = c;
- repaint();
+ tqrepaint();
}
void SKLineEdit::setBackgroundColor(TQColor c)
{
TQLineEdit::setBackgroundColor(c);
- repaint();
+ tqrepaint();
}
TQColor SKLineEdit::getFrameColor() const
@@ -66,7 +66,7 @@ void SKLineEdit::keyPressEvent(TQKeyEvent* e)
if(!e->text().isEmpty())
{
- karamba* k = static_cast<karamba*>(parent());
+ karamba* k = static_cast<karamba*>(TQT_TQWIDGET(tqparent()));
k->keyPressed(e->text(), m_input);
}
}