[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/kbabel/kbabel
From: Stanislav Visnovsky <visnovsky () nenya ! ms ! mff ! cuni ! cz>
Date: 2002-12-16 12:29:33
[Download RAW message or body]
CVS commit by nanulo:
Remove compatibility with Qt<3.1
M +0 -12 mymultilineedit.cpp 1.92
--- kdesdk/kbabel/kbabel/mymultilineedit.cpp #1.91:1.92
@@ -865,9 +865,5 @@ void MsgMultiLineEdit::paintSpacePoints(
QPainter painter(viewport() );
-#if (QT_VERSION < 305)
- QTextParag* par = document()->firstParag();
-#else
QTextParagraph* par = document()->firstParagraph();
-#endif
int row = 0;
int rowY = 2;
@@ -883,9 +879,5 @@ void MsgMultiLineEdit::paintSpacePoints(
painter.setPen( _currentColor );
-#if (QT_VERSION < 305)
- QTextParag* mypar = par;
-#else
QTextParagraph* mypar = par;
-#endif
int myrow = row;
int myrowY = rowY;
@@ -1201,9 +1193,5 @@ QRect MsgMultiLineEdit::mapToView( int p
QPainter painter(viewport() );
QTextDocument * doc = document();
-#if (QT_VERSION < 305)
- QTextParag * par = doc->firstParag();
-#else
QTextParagraph * par = doc->firstParagraph();
-#endif
int rowY = 2; // found out by experiment
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic