summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/timespanview/timeline.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/plugins/timespanview/timeline.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/plugins/timespanview/timeline.h')
-rw-r--r--korganizer/plugins/timespanview/timeline.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/plugins/timespanview/timeline.h b/korganizer/plugins/timespanview/timeline.h
index 7c9bd8689..031763f72 100644
--- a/korganizer/plugins/timespanview/timeline.h
+++ b/korganizer/plugins/timespanview/timeline.h
@@ -24,27 +24,27 @@
#ifndef TIMELINE_H
#define TIMELINE_H
-#include <qscrollview.h>
-#include <qdatetime.h>
+#include <tqscrollview.h>
+#include <tqdatetime.h>
class TimeLine : public QScrollView
{
Q_OBJECT
public:
- TimeLine( QWidget *parent = 0, const char *name = 0 );
+ TimeLine( TQWidget *parent = 0, const char *name = 0 );
virtual ~TimeLine();
- void setDateRange( const QDateTime &start, const QDateTime &end );
+ void setDateRange( const TQDateTime &start, const TQDateTime &end );
public slots:
void setContentsPos( int pos );
protected:
- void drawContents(QPainter* p, int cx, int cy, int cw, int ch);
+ void drawContents(TQPainter* p, int cx, int cy, int cw, int ch);
private:
- QDateTime mStartDate;
- QDateTime mEndDate;
+ TQDateTime mStartDate;
+ TQDateTime mEndDate;
int mPixelWidth;
int mDaySpacing;