diff options
author | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-15 15:31:01 -0600 |
commit | 252fce5a2a5384702fbcc1c9987284d7bd2e6943 (patch) | |
tree | d5768ff1e9065f29bec60c94d31880b38b4e82f2 /kmymoney2/widgets/kmymoneylineedit.cpp | |
parent | 69ef6c4beaa37474a2170d0bfe842de647f53102 (diff) | |
download | kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.tar.gz kmymoney-252fce5a2a5384702fbcc1c9987284d7bd2e6943.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmymoney2/widgets/kmymoneylineedit.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneylineedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kmymoneylineedit.cpp b/kmymoney2/widgets/kmymoneylineedit.cpp index 2250c30..254d400 100644 --- a/kmymoney2/widgets/kmymoneylineedit.cpp +++ b/kmymoney2/widgets/kmymoneylineedit.cpp @@ -22,7 +22,7 @@ #include <tqrect.h> #include <tqpainter.h> -#include <tqpalette.h> +#include <palette.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -35,11 +35,11 @@ #include "kmymoneylineedit.h" -kMyMoneyLineEdit::kMyMoneyLineEdit(TQWidget *w, const char* name, bool forceMonetaryDecimalSymbol, int tqalignment) : +kMyMoneyLineEdit::kMyMoneyLineEdit(TQWidget *w, const char* name, bool forceMonetaryDecimalSymbol, int alignment) : KLineEdit(w, name), m_forceMonetaryDecimalSymbol(forceMonetaryDecimalSymbol) { - tqsetAlignment(tqalignment); + setAlignment(alignment); } kMyMoneyLineEdit::~kMyMoneyLineEdit() @@ -69,7 +69,7 @@ void kMyMoneyLineEdit::focusOutEvent(TQFocusEvent *ev) // force update of hint if(text().isEmpty()) - tqrepaint(); + repaint(); } void kMyMoneyLineEdit::keyReleaseEvent(TQKeyEvent* k) @@ -141,7 +141,7 @@ void kMyMoneyLineEdit::drawContents( TQPainter *p) f.setItalic(true); f.setWeight(TQFont::Light); p->setFont(f); - p->setPen(tqpalette().disabled().text()); + p->setPen(palette().disabled().text()); p->drawText(topLeft, m_hint); |