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 --- src/profileengine/editor/addprofilewidget.ui | 6 +++--- src/profileengine/editor/profileeditor.cpp | 12 ++++++------ src/profileengine/editor/profileeditorbase.ui | 22 +++++++++++----------- 3 files changed, 20 insertions(+), 20 deletions(-) (limited to 'src/profileengine/editor') diff --git a/src/profileengine/editor/addprofilewidget.ui b/src/profileengine/editor/addprofilewidget.ui index a44765ab..78d20d17 100644 --- a/src/profileengine/editor/addprofilewidget.ui +++ b/src/profileengine/editor/addprofilewidget.ui @@ -21,7 +21,7 @@ - tqlayout6 + layout6 @@ -53,7 +53,7 @@ - tqlayout7 + layout7 @@ -85,7 +85,7 @@ - tqlayout8 + layout8 diff --git a/src/profileengine/editor/profileeditor.cpp b/src/profileengine/editor/profileeditor.cpp index 99921768..93fe2850 100644 --- a/src/profileengine/editor/profileeditor.cpp +++ b/src/profileengine/editor/profileeditor.cpp @@ -18,10 +18,10 @@ ***************************************************************************/ #include "profileeditor.h" -#include +#include #include -#include -#include +#include +#include #include #include @@ -69,12 +69,12 @@ public: bool isDerived() const { return m_derived; } - virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment) + virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) { TQColorGroup cgNew = cg; if (m_derived) cgNew.setColor(TQColorGroup::Text, KGlobalSettings::inactiveTextColor()); - KListViewItem::paintCell(p, cgNew, column, width, tqalignment); + KListViewItem::paintCell(p, cgNew, column, width, alignment); } private: @@ -115,7 +115,7 @@ void ProfileEditor::refresh() void ProfileEditor::refreshPropertyCombo() { - KTrader::OfferList list = KTrader::self()->query(TQString::tqfromLatin1("KDevelop/Plugin")); + KTrader::OfferList list = KTrader::self()->query(TQString::fromLatin1("KDevelop/Plugin")); TQStringList props; for (KTrader::OfferList::const_iterator it = list.constBegin(); it != list.constEnd(); ++it) { diff --git a/src/profileengine/editor/profileeditorbase.ui b/src/profileengine/editor/profileeditorbase.ui index d66c4e31..4c6af611 100644 --- a/src/profileengine/editor/profileeditorbase.ui +++ b/src/profileengine/editor/profileeditorbase.ui @@ -49,7 +49,7 @@ - tqlayout11 + layout11 @@ -73,7 +73,7 @@ Expanding - + 20 142 @@ -192,7 +192,7 @@ - tqlayout7 + layout7 @@ -221,7 +221,7 @@ - tqlayout8 + layout8 @@ -263,7 +263,7 @@ - tqlayout5 + layout5 @@ -303,7 +303,7 @@ - tqlayout6 + layout6 @@ -359,7 +359,7 @@ Expanding - + 20 16 @@ -376,7 +376,7 @@ Expanding - + 20 16 @@ -401,7 +401,7 @@ Expanding - + 20 16 @@ -410,7 +410,7 @@ - tqlayout10 + layout10 @@ -474,7 +474,7 @@ Expanding - + 20 16 -- cgit v1.2.1