diff options
Diffstat (limited to 'kcachegrind/kcachegrind/multiview.cpp')
-rw-r--r-- | kcachegrind/kcachegrind/multiview.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kcachegrind/kcachegrind/multiview.cpp b/kcachegrind/kcachegrind/multiview.cpp index 4288e2df..014276df 100644 --- a/kcachegrind/kcachegrind/multiview.cpp +++ b/kcachegrind/kcachegrind/multiview.cpp @@ -34,8 +34,8 @@ // MultiView // -MultiView::MultiView(TopLevel* top, TQWidget* parent, const char* name) - : TQSplitter(parent, name), TraceItemView(0, top) +MultiView::MultiView(TopLevel* top, TQWidget* tqparent, const char* name) + : TQSplitter(tqparent, name), TraceItemView(0, top) { // default setOrientation(Qt::Horizontal); @@ -65,7 +65,7 @@ void MultiView::appendView() int n = _views.count()+1; TabView* tv = new TabView(this, this, - TQString("TabView-%1").arg(n).ascii()); + TQString("TabView-%1").tqarg(n).ascii()); connect(tv, TQT_SIGNAL(activated(TabView*)), this, TQT_SLOT(tabActivated(TabView*)) ); _views.append(tv); @@ -128,7 +128,7 @@ void MultiView::selected(TraceItemView* sender, TraceItem* i) // we react only on selection changes of the active TabView if (sender != (TraceItemView*)_active) return; - _views.findRef(_active); + _views.tqfindRef(_active); TabView* next = _views.next(); if (!next) next = _views.first(); @@ -176,7 +176,7 @@ void MultiView::readViewConfig(KConfig* c, KConfigGroup* g = configGroup(c, prefix, postfix); int n = g->readNumEntry("Panels", 1); setChildCount(n); - setOrientation( (g->readEntry("Orientation") == TQString("Horizontal")) ? + setOrientation( (g->readEntry("Qt::Orientation") == TQString("Horizontal")) ? Qt::Horizontal : Qt::Vertical ); setSizes(g->readIntListEntry("PanelSizes")); @@ -187,7 +187,7 @@ void MultiView::readViewConfig(KConfig* c, TabView* tv, *activeTV = 0; for(tv=_views.first();tv;tv=_views.next()) { if (tv->name() == active) activeTV=tv; - tv->readViewConfig(c, TQString("%1-%2").arg(prefix).arg(tv->name()), + tv->readViewConfig(c, TQString("%1-%2").tqarg(prefix).tqarg(tv->name()), postfix, withOptions); } @@ -207,7 +207,7 @@ void MultiView::saveViewConfig(KConfig* c, KConfigGroup g(c, (prefix+postfix).ascii()); g.writeEntry("Panels", childCount()); - g.writeEntry("Orientation", + g.writeEntry("Qt::Orientation", (orientation() == Qt::Horizontal) ? "Horizontal" : "Vertical"); @@ -216,7 +216,7 @@ void MultiView::saveViewConfig(KConfig* c, TabView* tv; for(tv=_views.first();tv;tv=_views.next()) - tv->saveViewConfig(c, TQString("%1-%2").arg(prefix).arg(tv->name()), + tv->saveViewConfig(c, TQString("%1-%2").tqarg(prefix).tqarg(tv->name()), postfix, withOptions); } |