summaryrefslogtreecommitdiffstats
path: root/kcalc/kcalc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kcalc/kcalc.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcalc/kcalc.h')
-rw-r--r--kcalc/kcalc.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kcalc/kcalc.h b/kcalc/kcalc.h
index 87f389e..f135a3c 100644
--- a/kcalc/kcalc.h
+++ b/kcalc/kcalc.h
@@ -1,6 +1,6 @@
/*
KCalc, a scientific calculator for the X window system using the
- Qt widget libraries, available at no cost at http://www.troll.no
+ TQt widget libraries, available at no cost at http://www.troll.no
Copyright (C) 1996 Bernd Johannes Wuebben
wuebben@math.cornell.edu
@@ -61,9 +61,10 @@ class Constants;
class KCalculator : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
- KCalculator(TQWidget *parent = 0, const char *name = 0);
+ KCalculator(TQWidget *tqparent = 0, const char *name = 0);
~KCalculator();
signals:
@@ -76,16 +77,16 @@ private:
void updateGeometry();
void setupMainActions(void);
void setupStatusbar(void);
- TQWidget *setupNumericKeys(TQWidget *parent);
- void setupLogicKeys(TQWidget *parent);
- void setupScientificKeys(TQWidget *parent);
- void setupStatisticKeys(TQWidget *parent);
- void setupConstantsKeys(TQWidget *parent);
+ TQWidget *setupNumericKeys(TQWidget *tqparent);
+ void setupLogicKeys(TQWidget *tqparent);
+ void setupScientificKeys(TQWidget *tqparent);
+ void setupStatisticKeys(TQWidget *tqparent);
+ void setupConstantsKeys(TQWidget *tqparent);
void keyPressEvent(TQKeyEvent *e);
void keyReleaseEvent(TQKeyEvent *e);
void set_precision();
void set_style();
- void resetBase(void) { (BaseChooseGroup->find(1))->animateClick();};
+ void resetBase(void) { (BaseChooseGroup->tqfind(1))->animateClick();};
void UpdateDisplay(bool get_amount_from_core = false,
bool store_result_in_history = false);