From b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:51:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- parts/tools/addtooldlg.ui | 2 +- parts/tools/kapplicationtree.cpp | 8 ++++---- parts/tools/toolsconfig.cpp | 4 ++-- parts/tools/toolsconfigwidgetbase.ui | 18 +++++++++--------- 4 files changed, 16 insertions(+), 16 deletions(-) (limited to 'parts/tools') diff --git a/parts/tools/addtooldlg.ui b/parts/tools/addtooldlg.ui index 78363581..a1a6157e 100644 --- a/parts/tools/addtooldlg.ui +++ b/parts/tools/addtooldlg.ui @@ -123,7 +123,7 @@ executed.</p> Expanding - + 20 0 diff --git a/parts/tools/kapplicationtree.cpp b/parts/tools/kapplicationtree.cpp index 7db56d91..e5360ba3 100644 --- a/parts/tools/kapplicationtree.cpp +++ b/parts/tools/kapplicationtree.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include #include @@ -104,7 +104,7 @@ void KDevAppTreeListItem::init(const TQPixmap& pixmap, bool parse, bool dir, con TQString KDevAppTreeListItem::key(int column, bool /*ascending*/) const { if (directory) - return TQString::tqfromLatin1(" ") + text(column).upper(); + return TQString::fromLatin1(" ") + text(column).upper(); else return text(column).upper(); } @@ -117,7 +117,7 @@ void KDevAppTreeListItem::activate() void KDevAppTreeListItem::setOpen( bool o ) { - if( o && !parsed ) { // fill the tqchildren before opening + if( o && !parsed ) { // fill the children before opening ((KDevApplicationTree *) parent())->addDesktopGroup( path, this ); parsed = true; } @@ -248,7 +248,7 @@ void KDevApplicationTree::slotSelectionChanged(TQListViewItem* i) void KDevApplicationTree::resizeEvent( TQResizeEvent * e) { - setColumnWidth(0, width()-TQApplication::tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent)); + setColumnWidth(0, width()-TQApplication::tqstyle().pixelMetric(TQStyle::PM_ScrollBarExtent)); KListView::resizeEvent(e); } diff --git a/parts/tools/toolsconfig.cpp b/parts/tools/toolsconfig.cpp index 1b4c90f3..5ace3932 100644 --- a/parts/tools/toolsconfig.cpp +++ b/parts/tools/toolsconfig.cpp @@ -2,7 +2,7 @@ #include #include -#include +#include #include #include #include @@ -162,7 +162,7 @@ void ToolsConfig::updateList() _list->insertItem(it.current()->icon, it.current()->name); _list->setUpdatesEnabled(true); - _list->tqrepaint(); + _list->repaint(); } diff --git a/parts/tools/toolsconfigwidgetbase.ui b/parts/tools/toolsconfigwidgetbase.ui index cd4a7e6f..67f9b7b5 100644 --- a/parts/tools/toolsconfigwidgetbase.ui +++ b/parts/tools/toolsconfigwidgetbase.ui @@ -66,7 +66,7 @@ Expanding - + 20 20 @@ -105,7 +105,7 @@ Expanding - + 20 20 @@ -124,7 +124,7 @@ Expanding - + 20 20 @@ -170,7 +170,7 @@ Expanding - + 20 20 @@ -209,7 +209,7 @@ Expanding - + 20 20 @@ -228,7 +228,7 @@ Expanding - + 20 20 @@ -274,7 +274,7 @@ Expanding - + 20 20 @@ -313,7 +313,7 @@ Expanding - + 20 20 @@ -332,7 +332,7 @@ Expanding - + 20 20 -- cgit v1.2.1