-rw-r--r-- | korganizer/lineview.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/korganizer/lineview.cpp b/korganizer/lineview.cpp index f1ff29f..e72e41c 100644 --- a/korganizer/lineview.cpp +++ b/korganizer/lineview.cpp @@ -1,40 +1,39 @@ #include <qpainter.h> #include <kdebug.h> #include "koprefs.h" #include "lineview.h" -#include "lineview.moc" LineView::LineView( QWidget *parent, const char *name ) : QScrollView( parent, name ) { mPixelWidth = 1000; mLines.setAutoDelete( true ); resizeContents( mPixelWidth, contentsHeight() ); viewport()->setBackgroundColor(KOPrefs::instance()->mAgendaBgColor); } LineView::~LineView() { } int LineView::pixelWidth() { return mPixelWidth; } void LineView::addLine( int start, int end ) { int count = mLines.count(); if( start < 0 ) start = 0; if( end > mPixelWidth) end = mPixelWidth; kdDebug() << "LineView::addLine() col: " << count << " start: " << start << " end: " << end << endl; |