Commit 4816c29c authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Qt4 porting

svn path=/trunk/koffice/; revision=545547
parent ddde3581
...@@ -689,7 +689,7 @@ Editor::updateGroupLabelsPosition() ...@@ -689,7 +689,7 @@ Editor::updateGroupLabelsPosition()
EditorGroupItem *group = dynamic_cast<EditorGroupItem*>(d->topItem->firstChild()); EditorGroupItem *group = dynamic_cast<EditorGroupItem*>(d->topItem->firstChild());
while(group) { while(group) {
QRect r = itemRect((QListViewItem*) group); QRect r = itemRect((Q3ListViewItem*) group);
r.setX(20); r.setX(20);
if(group->label()) if(group->label())
group->label()->setGeometry(r); group->label()->setGeometry(r);
......
...@@ -74,7 +74,7 @@ Test::Test() ...@@ -74,7 +74,7 @@ Test::Test()
m_set->addProperty(new Property("List", list, name_list, "otheritem", "List"), group); m_set->addProperty(new Property("List", list, name_list, "otheritem", "List"), group);
// A valueFromList property matching strings with ints (could be any type supported by QVariant) // A valueFromList property matching strings with ints (could be any type supported by QVariant)
QValueList<QVariant> keys; QList<QVariant> keys;
keys.append(1); keys.append(1);
keys.append(2); keys.append(2);
keys.append(3); keys.append(3);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment