summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/timespanview/lineview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/timespanview/lineview.cpp')
-rw-r--r--korganizer/plugins/timespanview/lineview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/plugins/timespanview/lineview.cpp b/korganizer/plugins/timespanview/lineview.cpp
index 26779bdb3..93a2f0bfa 100644
--- a/korganizer/plugins/timespanview/lineview.cpp
+++ b/korganizer/plugins/timespanview/lineview.cpp
@@ -22,7 +22,7 @@
without including the source code for Qt in the source distribution.
*/
-#include <qpainter.h>
+#include <tqpainter.h>
#include <kdebug.h>
@@ -31,8 +31,8 @@
#include "lineview.h"
#include "lineview.moc"
-LineView::LineView( QWidget *parent, const char *name ) :
- QScrollView( parent, name )
+LineView::LineView( TQWidget *parent, const char *name ) :
+ TQScrollView( parent, name )
{
mPixelWidth = 1000;
@@ -71,7 +71,7 @@ void LineView::clear()
update();
}
-void LineView::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
+void LineView::drawContents(TQPainter* p, int cx, int cy, int cw, int ch)
{
// kdDebug(5850) << "LineView::drawContents()" << endl;
@@ -112,7 +112,7 @@ void LineView::drawContents(QPainter* p, int cx, int cy, int cw, int ch)
if ( cbottom > (cy+ch) ) cbottom = cy+ch;
// kdDebug(5850) << " drawContents(): ctop: " << ctop << " cbottom: "
// << cbottom << " s: " << s << " e: " << e << endl;
- p->fillRect( s, ctop, e - s + 1, cbottom - ctop + 1, QBrush("red") );
+ p->fillRect( s, ctop, e - s + 1, cbottom - ctop + 1, TQBrush("red") );
}
}
}