summaryrefslogtreecommitdiffabout
path: root/korganizer/lineview.h
Side-by-side diff
Diffstat (limited to 'korganizer/lineview.h') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/lineview.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/korganizer/lineview.h b/korganizer/lineview.h
index aa34dbc..52ae9cf 100644
--- a/korganizer/lineview.h
+++ b/korganizer/lineview.h
@@ -1,36 +1,36 @@
#ifndef LINEVIEW_H
#define LINEVIEW_H
-#include <qscrollview.h>
-#include <qptrlist.h>
+#include <q3scrollview.h>
+#include <q3ptrlist.h>
-class LineView : public QScrollView
+class LineView : public Q3ScrollView
{
Q_OBJECT
public:
LineView( QWidget *parent = 0, const char *name = 0 );
virtual ~LineView();
int pixelWidth();
void addLine( int start, int end );
void clear();
protected:
void drawContents(QPainter* p, int cx, int cy, int cw, int ch);
private:
struct Line {
Line( int c, int s, int e ) : column( c ), start( s ), end( e ) {}
int column;
int start;
int end;
};
- QPtrList<Line> mLines;
+ Q3PtrList<Line> mLines;
int mPixelWidth;
};
#endif