summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kforecastview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/views/kforecastview.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/views/kforecastview.h')
-rw-r--r--kmymoney2/views/kforecastview.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kmymoney2/views/kforecastview.h b/kmymoney2/views/kforecastview.h
index 8beb24a..36de0e5 100644
--- a/kmymoney2/views/kforecastview.h
+++ b/kmymoney2/views/kforecastview.h
@@ -46,10 +46,11 @@ using namespace reports;
class KForecastView : public KForecastViewDecl
{
Q_OBJECT
+ TQ_OBJECT
private:
public:
- KForecastView(QWidget *parent=0, const char *name=0);
+ KForecastView(TQWidget *tqparent=0, const char *name=0);
virtual ~KForecastView();
void show(void);
@@ -69,7 +70,7 @@ protected:
MaxViewTabs
} ForecastViewTab;
- QMap<QString, QString> m_nameIdx;
+ TQMap<TQString, TQString> m_nameIdx;
/**
@@ -108,21 +109,21 @@ protected:
void loadForecastSettings(void);
protected slots:
- void slotTabChanged(QWidget*);
+ void slotTabChanged(TQWidget*);
/**
* Get the list of prices for an account
* This is used later to create an instance of KMyMoneyAccountTreeForecastItem
*
*/
- QValueList<MyMoneyPrice> getAccountPrices(const MyMoneyAccount& acc);
+ TQValueList<MyMoneyPrice> getAccountPrices(const MyMoneyAccount& acc);
private:
void addAssetLiabilityRows(const MyMoneyForecast& forecast);
void addIncomeExpenseRows(const MyMoneyForecast& forecast);
void addTotalRow(KMyMoneyAccountTreeForecast* forecastList, const MyMoneyForecast& forecast);
bool includeAccount(MyMoneyForecast& forecast, const MyMoneyAccount& acc);
- void loadAccounts(MyMoneyForecast& forecast, const MyMoneyAccount& account, KMyMoneyAccountTreeForecastItem* parentItem, int forecastType);
+ void loadAccounts(MyMoneyForecast& forecast, const MyMoneyAccount& account, KMyMoneyAccountTreeForecastItem* tqparentItem, int forecastType);
bool m_needReload[MaxViewTabs];
KMyMoneyAccountTreeForecastItem* m_totalItem;