diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kcalc/dlabel.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/dlabel.cpp')
-rw-r--r-- | kcalc/dlabel.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcalc/dlabel.cpp b/kcalc/dlabel.cpp index 8c6c062..c4dbb17 100644 --- a/kcalc/dlabel.cpp +++ b/kcalc/dlabel.cpp @@ -23,7 +23,7 @@ */ -#include <qglobal.h> +#include <tqglobal.h> #include <kactioncollection.h> #include <kstdaction.h> @@ -34,14 +34,14 @@ -DispLogic::DispLogic(QWidget *parent, const char *name, +DispLogic::DispLogic(TQWidget *parent, const char *name, KActionCollection *coll) :KCalcDisplay(parent,name), _history_index(0) { KNumber::setDefaultFloatOutput(true); KNumber::setDefaultFractionalInput(true); - _back = KStdAction::undo(this, SLOT(history_back()), coll); - _forward = KStdAction::redo(this, SLOT(history_forward()), coll); + _back = KStdAction::undo(this, TQT_SLOT(history_back()), coll); + _forward = KStdAction::redo(this, TQT_SLOT(history_forward()), coll); _forward->setEnabled(false); _back->setEnabled(false); @@ -53,11 +53,11 @@ DispLogic::~DispLogic() void DispLogic::changeSettings() { - QPalette pal = palette(); + TQPalette pal = palette(); - pal.setColor(QColorGroup::Text, KCalcSettings::foreColor()); - pal.setColor(QColorGroup::Foreground, KCalcSettings::foreColor()); - pal.setColor(QColorGroup::Background, KCalcSettings::backColor()); + pal.setColor(TQColorGroup::Text, KCalcSettings::foreColor()); + pal.setColor(TQColorGroup::Foreground, KCalcSettings::foreColor()); + pal.setColor(TQColorGroup::Background, KCalcSettings::backColor()); setPalette(pal); setBackgroundColor(KCalcSettings::backColor()); |