summaryrefslogtreecommitdiffstats
path: root/kplato/kptresourceview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptresourceview.h')
-rw-r--r--kplato/kptresourceview.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/kplato/kptresourceview.h b/kplato/kptresourceview.h
index 391653af4..5fb3d98ad 100644
--- a/kplato/kptresourceview.h
+++ b/kplato/kptresourceview.h
@@ -20,14 +20,14 @@
#ifndef KPTRESOURCEVIEW_H
#define KPTRESOURCEVIEW_H
-#include <qsplitter.h>
-#include <qdatetime.h>
-#include <qvaluelist.h>
+#include <tqsplitter.h>
+#include <tqdatetime.h>
+#include <tqvaluelist.h>
#include "kptcontext.h"
-class QPoint;
-class QListViewItem;
+class TQPoint;
+class TQListViewItem;
class KPrinter;
@@ -46,12 +46,13 @@ class Resource;
class ResourceItemPrivate;
- class ResourceView : public QSplitter
+ class ResourceView : public TQSplitter
{
Q_OBJECT
+ TQ_OBJECT
public:
- ResourceView(View *view, QWidget *parent);
+ ResourceView(View *view, TQWidget *tqparent);
//~ResourceView();
@@ -62,7 +63,7 @@ class ResourceItemPrivate;
Resource *currentResource();
- QValueList<int> listOffsets(int pageHeight) const;
+ TQValueList<int> listOffsets(int pageHeight) const;
void print(KPrinter &printer);
Node *currentNode() const { return m_currentNode; }
@@ -70,7 +71,7 @@ class ResourceItemPrivate;
virtual bool setContext(Context::Resourceview &context);
virtual void getContext(Context::Resourceview &context) const;
- virtual QSize sizeHint() const;
+ virtual TQSize tqsizeHint() const;
public slots:
void setShowAppointments(bool on) { m_showAppointments = on; }
@@ -80,12 +81,12 @@ signals:
protected slots:
void resSelectionChanged();
- void resSelectionChanged(QListViewItem *item);
- void slotItemDoubleClicked(QListViewItem*);
- void popupMenuRequested(QListViewItem * item, const QPoint & pos, int);
+ void resSelectionChanged(TQListViewItem *item);
+ void slotItemDoubleClicked(TQListViewItem*);
+ void popupMenuRequested(TQListViewItem * item, const TQPoint & pos, int);
private:
- void drawResources(const Project &proj, QListViewItem *parent, ResourceGroup *group);
+ void drawResources(const Project &proj, TQListViewItem *tqparent, ResourceGroup *group);
private:
View *m_mainview;
@@ -95,8 +96,8 @@ private:
ResListView *resList;
ResourceAppointmentsView *m_appview;
Node *m_currentNode;
- QDate m_start;
- QDate m_end;
+ TQDate m_start;
+ TQDate m_end;
bool m_showAppointments;