summaryrefslogtreecommitdiffstats
path: root/kplato/kptaccountsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptaccountsview.h')
-rw-r--r--kplato/kptaccountsview.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/kplato/kptaccountsview.h b/kplato/kptaccountsview.h
index cc73514a..973d7484 100644
--- a/kplato/kptaccountsview.h
+++ b/kplato/kptaccountsview.h
@@ -20,7 +20,7 @@
#ifndef KPTACCOUNTSVIEW_H
#define KPTACCOUNTSVIEW_H
-#include <qdatetime.h>
+#include <tqdatetime.h>
#include <klistview.h>
@@ -29,13 +29,13 @@
#include "kpteffortcostmap.h"
#include "kptdoublelistviewbase.h"
-class QComboBox;
-class QDateEdit;
-class QPushButton;
-class QSplitter;
-class QListViewItem;
-class QLabel;
-class QPushButton;
+class TQComboBox;
+class TQDateEdit;
+class TQPushButton;
+class TQSplitter;
+class TQListViewItem;
+class TQLabel;
+class TQPushButton;
class KListView;
class KListViewItem;
@@ -55,12 +55,13 @@ class ResourceGroup;
class Resource;
class ResourceItemPrivate;
-class AccountsView : public QWidget
+class AccountsView : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- AccountsView(Project &project, View *view, QWidget *parent);
+ AccountsView(Project &project, View *view, TQWidget *tqparent);
//~AccountsView();
@@ -83,17 +84,17 @@ protected slots:
void slotUpdate();
protected:
- void getContextClosedItems(Context::Accountsview &context, QListViewItem *item) const;
+ void getContextClosedItems(Context::Accountsview &context, TQListViewItem *item) const;
void setContextClosedItems(Context::Accountsview &context);
private:
class AccountItem : public DoubleListViewBase::MasterListItem {
public:
- AccountItem(Account *a, QListView *parent, bool highlight=false);
- AccountItem(Account *a, QListViewItem *parent, bool highlight=false);
- AccountItem(QString text, Account *a, QListViewItem *parent, bool _highlight=false);
+ AccountItem(Account *a, TQListView *tqparent, bool highlight=false);
+ AccountItem(Account *a, TQListViewItem *tqparent, bool highlight=false);
+ AccountItem(TQString text, Account *a, TQListViewItem *tqparent, bool _highlight=false);
- void add(int col, const QDate &date, const EffortCost &ec);
+ void add(int col, const TQDate &date, const EffortCost &ec);
Account *account;
EffortCostMap costMap;
@@ -101,11 +102,11 @@ private:
void init();
void initAccList(const AccountList &list);
- void initAccSubItems(Account *acc, AccountItem *parent);
- void initAccList(const AccountList &list, AccountItem *parent);
+ void initAccSubItems(Account *acc, AccountItem *tqparent);
+ void initAccList(const AccountList &list, AccountItem *tqparent);
void createPeriods();
void clearPeriods();
- QString periodText(int offset);
+ TQString periodText(int offset);
private:
View *m_mainview;
@@ -114,14 +115,14 @@ private:
int m_defaultFontSize;
- QDate m_date;
+ TQDate m_date;
int m_period;
bool m_cumulative;
DoubleListViewBase *m_dlv;
- QStringList m_periodTexts;
- QPushButton *m_changeBtn;
+ TQStringList m_periodTexts;
+ TQPushButton *m_changeBtn;
Label *m_label;
};