From 1623fe64102c18ab098b79656b80f28cef840756 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 10:00:25 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04. --- languages/cpp/addattributedialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'languages/cpp/addattributedialog.cpp') diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp index 95e33970..69d373fd 100644 --- a/languages/cpp/addattributedialog.cpp +++ b/languages/cpp/addattributedialog.cpp @@ -38,7 +38,7 @@ #include #include #include -#include +#include AddAttributeDialog::AddAttributeDialog( CppSupportPart* cppSupport, ClassDom klass, TQWidget* parent, const char* name, bool modal, WFlags fl ) @@ -194,7 +194,7 @@ void AddAttributeDialog::updateGUI() void AddAttributeDialog::addAttribute() { TQListViewItem * item = new TQListViewItem( attributes, "Protected", "Normal", - "int", TQString( "attribute_%1" ).arg( ++m_count ) ); + "int", TQString( "attribute_%1" ).tqarg( ++m_count ) ); attributes->setCurrentItem( item ); attributes->setSelected( item, true ); @@ -248,13 +248,13 @@ TQString AddAttributeDialog::accessID( VariableDom var ) const switch ( var->access() ) { case CodeModelItem::Public: - return TQString::fromLatin1( "Public" ); + return TQString::tqfromLatin1( "Public" ); case CodeModelItem::Protected: - return TQString::fromLatin1( "Protected" ); + return TQString::tqfromLatin1( "Protected" ); case CodeModelItem::Private: - return TQString::fromLatin1( "Private" ); + return TQString::tqfromLatin1( "Private" ); } return TQString(); -- cgit v1.2.1