summaryrefslogtreecommitdiffstats
path: root/languages/cpp/qtdesignercppintegration.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/qtdesignercppintegration.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/qtdesignercppintegration.cpp')
-rw-r--r--languages/cpp/qtdesignercppintegration.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/qtdesignercppintegration.cpp b/languages/cpp/qtdesignercppintegration.cpp
index 3742c0f6..0705f03c 100644
--- a/languages/cpp/qtdesignercppintegration.cpp
+++ b/languages/cpp/qtdesignercppintegration.cpp
@@ -167,7 +167,7 @@ void QtDesignerCppIntegration::addFunctionToClass( KInterfaceDesigner::Function
atColumn = 0;
}
- // editIface->insertLine( atLine + 1, TQString::tqfromLatin1("") );
+ // editIface->insertLine( atLine + 1, TQString::fromLatin1("") );
kdDebug() << "at line in intg: " << atLine << " atCol: " << atColumn << endl;
kdDebug() << "text: " << stri << endl;
editIface->insertText( atLine, atColumn, stri );
@@ -185,24 +185,24 @@ void QtDesignerCppIntegration::addFunctionToClass( KInterfaceDesigner::Function
TQString QtDesignerCppIntegration::accessID( FunctionDom fun ) const
{
if ( fun->isSignal() )
- return TQString::tqfromLatin1( "signals" );
+ return TQString::fromLatin1( "signals" );
switch ( fun->access() )
{
case CodeModelItem::Public:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "public slots" );
- return TQString::tqfromLatin1( "public" );
+ return TQString::fromLatin1( "public slots" );
+ return TQString::fromLatin1( "public" );
case CodeModelItem::Protected:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "protected slots" );
- return TQString::tqfromLatin1( "protected" );
+ return TQString::fromLatin1( "protected slots" );
+ return TQString::fromLatin1( "protected" );
case CodeModelItem::Private:
if ( fun->isSlot() )
- return TQString::tqfromLatin1( "private slots" );
- return TQString::tqfromLatin1( "private" );
+ return TQString::fromLatin1( "private slots" );
+ return TQString::fromLatin1( "private" );
}
return TQString();