summaryrefslogtreecommitdiffstats
path: root/languages/cpp/addattributedialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:51:21 -0600
commitb6ba5d642f3fc7d320e3d6f4650eb259a3a52b04 (patch)
tree76f49820693d443128d3720322ff1605e9bcd558 /languages/cpp/addattributedialog.cpp
parent247f828db1b8dcdc9346c1568d81cfa00db99c9e (diff)
downloadtdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.tar.gz
tdevelop-b6ba5d642f3fc7d320e3d6f4650eb259a3a52b04.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'languages/cpp/addattributedialog.cpp')
-rw-r--r--languages/cpp/addattributedialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/languages/cpp/addattributedialog.cpp b/languages/cpp/addattributedialog.cpp
index 69d373fd..95e33970 100644
--- a/languages/cpp/addattributedialog.cpp
+++ b/languages/cpp/addattributedialog.cpp
@@ -38,7 +38,7 @@
#include <tqcheckbox.h>
#include <tqpushbutton.h>
#include <tqtoolbutton.h>
-#include <tqtextstream.h>
+#include <textstream.h>
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" ).tqarg( ++m_count ) );
+ "int", TQString( "attribute_%1" ).arg( ++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::tqfromLatin1( "Public" );
+ return TQString::fromLatin1( "Public" );
case CodeModelItem::Protected:
- return TQString::tqfromLatin1( "Protected" );
+ return TQString::fromLatin1( "Protected" );
case CodeModelItem::Private:
- return TQString::tqfromLatin1( "Private" );
+ return TQString::fromLatin1( "Private" );
}
return TQString();