summaryrefslogtreecommitdiffstats
path: root/kcalc/kcalc.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kcalc/kcalc.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/kcalc.h')
-rw-r--r--kcalc/kcalc.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kcalc/kcalc.h b/kcalc/kcalc.h
index 0ede211..442937d 100644
--- a/kcalc/kcalc.h
+++ b/kcalc/kcalc.h
@@ -63,7 +63,7 @@ class KCalculator : public KMainWindow
Q_OBJECT
public:
- KCalculator(QWidget *parent = 0, const char *name = 0);
+ KCalculator(TQWidget *parent = 0, const char *name = 0);
~KCalculator();
signals:
@@ -72,17 +72,17 @@ signals:
void switchShowAccels(bool);
private:
- virtual bool eventFilter( QObject *o, QEvent *e );
+ virtual bool eventFilter( TQObject *o, TQEvent *e );
void updateGeometry();
void setupMainActions(void);
void setupStatusbar(void);
- QWidget *setupNumericKeys(QWidget *parent);
- void setupLogicKeys(QWidget *parent);
- void setupScientificKeys(QWidget *parent);
- void setupStatisticKeys(QWidget *parent);
- void setupConstantsKeys(QWidget *parent);
- void keyPressEvent(QKeyEvent *e);
- void keyReleaseEvent(QKeyEvent *e);
+ TQWidget *setupNumericKeys(TQWidget *parent);
+ void setupLogicKeys(TQWidget *parent);
+ void setupScientificKeys(TQWidget *parent);
+ void setupStatisticKeys(TQWidget *parent);
+ void setupConstantsKeys(TQWidget *parent);
+ void keyPressEvent(TQKeyEvent *e);
+ void keyReleaseEvent(TQKeyEvent *e);
void set_precision();
void set_style();
void resetBase(void) { (BaseChooseGroup->find(1))->animateClick();};
@@ -172,16 +172,16 @@ private:
private:
- QWidget *mSmallPage;
- QWidget *mLargePage;
- QWidget *mNumericPage;
+ TQWidget *mSmallPage;
+ TQWidget *mLargePage;
+ TQWidget *mNumericPage;
DispLogic* calc_display; // for historic reasons in "dlabel.h"
- QRadioButton* pbBaseChoose[4];
- QPushButton* pbAngleChoose;
- QDict<KCalcButton> pbStat;
- QDict<KCalcButton> pbScientific;
- QDict<KCalcButton> pbLogic;
+ TQRadioButton* pbBaseChoose[4];
+ TQPushButton* pbAngleChoose;
+ TQDict<KCalcButton> pbStat;
+ TQDict<KCalcButton> pbScientific;
+ TQDict<KCalcButton> pbLogic;
KCalcConstButton* pbConstant[10];
KCalcButton* pbAC;
KCalcButton* pbAND;
@@ -215,21 +215,21 @@ private:
// buttons would like to remove this, but
// don't know how
- QHButtonGroup* BaseChooseGroup;
+ TQHButtonGroup* BaseChooseGroup;
// NumButtonGroup: 0-9 = digits, 0xA-0xF = hex-keys
- QButtonGroup* NumButtonGroup;
+ TQButtonGroup* NumButtonGroup;
// ConstButtonGroup C1-C6
- QButtonGroup* ConstButtonGroup;
+ TQButtonGroup* ConstButtonGroup;
KToggleAction *actionStatshow;
KToggleAction *actionScientificshow;
KToggleAction *actionLogicshow;
KToggleAction *actionConstantsShow;
- QPtrList<KCalcButton> mFunctionButtonList;
- QPtrList<KCalcButton> mStatButtonList;
- QPtrList<KCalcButton> mMemButtonList;
- QPtrList<KCalcButton> mOperationButtonList;
+ TQPtrList<KCalcButton> mFunctionButtonList;
+ TQPtrList<KCalcButton> mStatButtonList;
+ TQPtrList<KCalcButton> mMemButtonList;
+ TQPtrList<KCalcButton> mOperationButtonList;
int mInternalSpacing;