diff options
Diffstat (limited to 'kspy/propsview.cpp')
-rw-r--r-- | kspy/propsview.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kspy/propsview.cpp b/kspy/propsview.cpp index a432f177..8d099a94 100644 --- a/kspy/propsview.cpp +++ b/kspy/propsview.cpp @@ -35,15 +35,15 @@ public: } protected: void paintCell( TQPainter * p, const TQColorGroup & cg, - int column, int width, int tqalignment ) + int column, int width, int alignment ) { if (column == 1 && text(2) == "TQColor") { TQColorGroup color_cg( cg.foreground(), cg.background(), cg.light(), cg.dark(), cg.mid(), TQColor(text(1)), TQColor(text(1)) ); - TQListViewItem::paintCell(p, color_cg, column, width, tqalignment); + TQListViewItem::paintCell(p, color_cg, column, width, alignment); } else { - KListViewItem::paintCell(p, cg, column, width, tqalignment); + KListViewItem::paintCell(p, cg, column, width, alignment); } } }; @@ -95,20 +95,20 @@ void PropsView::buildList( TQObject *o ) case TQVariant::Cursor: { TQCursor c = v.toCursor(); - val = TQString("tqshape=%1").tqarg(c.tqshape()); + val = TQString("shape=%1").arg(c.shape()); break; } case TQVariant::Font: { TQFont f = v.toFont(); val = TQString("family=%1, pointSize=%2, weight=%3, italic=%4, bold=%5, underline=%6, strikeOut=%7") - .tqarg(f.family()) - .tqarg(f.pointSize()) - .tqarg(f.weight()) - .tqarg(f.italic()) - .tqarg(f.bold()) - .tqarg(f.underline()) - .tqarg(f.strikeOut()); + .arg(f.family()) + .arg(f.pointSize()) + .arg(f.weight()) + .arg(f.italic()) + .arg(f.bold()) + .arg(f.underline()) + .arg(f.strikeOut()); break; } case TQVariant::Int: @@ -116,39 +116,39 @@ void PropsView::buildList( TQObject *o ) if (mp->isEnumType()) { #ifdef USE_QT4 // TQMetaObject * metaObject = *(mp->meta); // FIXME - val = TQString("%1::%2").tqarg("QT4_CANNOT_FIND_TQMETAOBJECT_FOR_TQMETAPROPERTY").tqarg(mp->valueToKey(val.toInt())); // FIXME + val = TQString("%1::%2").arg("QT4_CANNOT_FIND_TQMETAOBJECT_FOR_TQMETAPROPERTY").arg(mp->valueToKey(val.toInt())); // FIXME #else // USE_QT4 TQMetaObject * metaObject = *(mp->meta); - val = TQString("%1::%2").tqarg(metaObject->className()).tqarg(mp->valueToKey(val.toInt())); + val = TQString("%1::%2").arg(metaObject->className()).arg(mp->valueToKey(val.toInt())); #endif // USE_QT4 } break; case TQVariant::Point: { TQPoint p = v.toPoint(); - val = TQString("x=%1, y=%2").tqarg(p.x()).tqarg(p.y()); + val = TQString("x=%1, y=%2").arg(p.x()).arg(p.y()); break; } case TQVariant::Rect: { TQRect r = v.toRect(); val = TQString("left=%1, right=%2, top=%3, bottom=%4") - .tqarg(r.left()) - .tqarg(r.right()) - .tqarg(r.top()) - .tqarg(r.bottom()); + .arg(r.left()) + .arg(r.right()) + .arg(r.top()) + .arg(r.bottom()); break; } case TQVariant::Size: { TQSize s = v.toSize(); - val = TQString("width=%1, height=%2").tqarg(s.width()).tqarg(s.height()); + val = TQString("width=%1, height=%2").arg(s.width()).arg(s.height()); break; } case TQVariant::SizePolicy: { TQSizePolicy s = v.toSizePolicy(); - val = TQString("horData=%1, verData=%2").tqarg(s.horData()).tqarg(s.verData()); + val = TQString("horData=%1, verData=%2").arg(s.horData()).arg(s.verData()); break; } case TQVariant::Double: |