summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kcurrencycalculator.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kcurrencycalculator.h')
-rw-r--r--kmymoney2/dialogs/kcurrencycalculator.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/kcurrencycalculator.h b/kmymoney2/dialogs/kcurrencycalculator.h
index d9934da..a301129 100644
--- a/kmymoney2/dialogs/kcurrencycalculator.h
+++ b/kmymoney2/dialogs/kcurrencycalculator.h
@@ -26,7 +26,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
+#include <tqwidget.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -44,6 +44,7 @@
class KCurrencyCalculator : public KCurrencyCalculatorDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -53,19 +54,19 @@ public:
* @param shares the number of foreign currency units
* @param date the date when the conversion took place
* @param resultFraction the smallest fraction of the result (default 100)
- * @param parent see QWidget constructor
- * @param name see QWidget constructor
+ * @param tqparent see TQWidget constructor
+ * @param name see TQWidget constructor
*
* @note @p value must not be 0!
*/
- KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const QDate& date, const signed64 resultFraction = 100, QWidget *parent=0, const char *name=0);
+ KCurrencyCalculator(const MyMoneySecurity& from, const MyMoneySecurity& to, const MyMoneyMoney& value, const MyMoneyMoney& shares, const TQDate& date, const signed64 resultFraction = 100, TQWidget *tqparent=0, const char *name=0);
~KCurrencyCalculator();
const MyMoneyMoney price(void) const;
void setupPriceEditor(void);
- static bool setupSplitPrice(MyMoneyMoney& shares, const MyMoneyTransaction& t, const MyMoneySplit& s, const QMap<QString, MyMoneyMoney>& priceInfo, QWidget* parentWidget);
+ static bool setupSplitPrice(MyMoneyMoney& shares, const MyMoneyTransaction& t, const MyMoneySplit& s, const TQMap<TQString, MyMoneyMoney>& priceInfo, TQWidget* tqparentWidget);
protected:
void updateExample(const MyMoneyMoney& price);
@@ -73,8 +74,8 @@ protected:
protected slots:
void slotSetToAmount(void);
void slotSetExchangeRate(void);
- void slotUpdateResult(const QString& txt);
- void slotUpdateRate(const QString& txt);
+ void slotUpdateResult(const TQString& txt);
+ void slotUpdateRate(const TQString& txt);
virtual void accept(void);
private: