[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kpresenter/autoformEdit
From: Laurent Montel <montel () kde ! org>
Date: 2006-08-03 15:56:23
Message-ID: 1154620583.255566.29902.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 569349 by mlaurent:
qt3 class--
M +2 -2 AFChoose.cpp
M +3 -3 ATFInterpreter.cpp
M +1 -1 ATFInterpreter.h
--- trunk/koffice/kpresenter/autoformEdit/AFChoose.cpp #569348:569349
@@ -21,7 +21,7 @@
#include "AFChoose.h"
#include <QLabel>
-#include <q3vbox.h>
+#include <kvbox.h>
#include <qtextstream.h>
#include <QDir>
@@ -88,7 +88,7 @@
{
for (grpPtr=groupList.first();grpPtr != 0;grpPtr=groupList.next())
{
- grpPtr->tab = new Q3VBox(this);
+ grpPtr->tab = new KVBox(this);
grpPtr->tab->setWhatsThis( i18n( "Choose a predefined shape by clicking \
on it then clicking the OK button (or just double-click on the shape). You can then \
insert the shape onto your slide by drawing the area with the mouse pointer." ) ); \
grpPtr->loadWid = new KIconCanvas(grpPtr->tab); // Changes for the new KIconCanvas \
(Werner)
--- trunk/koffice/kpresenter/autoformEdit/ATFInterpreter.cpp #569348:569349
@@ -23,7 +23,7 @@
#include <q3valuestack.h>
#include <QFile>
//Added by qt3to4:
-#include <Q3PointArray>
+#include <QPolygon>
#include <Q3PtrList>
const char ATFInterpreter::PNT_BG[] = "POINT {";
@@ -116,14 +116,14 @@
}
}
-Q3PointArray ATFInterpreter::getPointArray(int wid,int heig)
+QPolygon ATFInterpreter::getPointArray(int wid,int heig)
{
unsigned int px = 0,py = 0,a = 0,b = 0,c = 0,d = 0,e = 0,f = 0;
unsigned int tmp = 0,num = 0;
bool calc = false,res = false;
char op = OP_EQUAL,var = VAR_1;
Q3PtrList<Sign> slp;
- Q3PointArray pntArray(coordList.count());
+ QPolygon pntArray(coordList.count());
if (!coordList.isEmpty())
{
--- trunk/koffice/kpresenter/autoformEdit/ATFInterpreter.h #569348:569349
@@ -84,7 +84,7 @@
void load(const QString &);
// get pointarray/attribute list/points
- Q3PointArray getPointArray(int,int);
+ QPolygon getPointArray(int,int);
Q3PtrList<AttribList> getAttribList();
protected:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic