summaryrefslogtreecommitdiffstats
path: root/kdecore/kconfig_compiler
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 22:53:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-02 22:53:34 +0000
commitb1960071ca0d9303610b4afd8c07afdf1f091756 (patch)
tree98ea75744f33110bf10713d91cc18f583e5235f4 /kdecore/kconfig_compiler
parentbf85f02dd35b67007f6732d3c7dc76d7ac7f2a3d (diff)
downloadtdelibs-b1960071ca0d9303610b4afd8c07afdf1f091756.tar.gz
tdelibs-b1960071ca0d9303610b4afd8c07afdf1f091756.zip
Convert remainder of kdelibs to use currently defined tqt object name defs
This might fix the kio ssl problem git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1226906 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kconfig_compiler')
-rw-r--r--kdecore/kconfig_compiler/kconfig_compiler.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdecore/kconfig_compiler/kconfig_compiler.cpp b/kdecore/kconfig_compiler/kconfig_compiler.cpp
index 434208b70..fd2cbc405 100644
--- a/kdecore/kconfig_compiler/kconfig_compiler.cpp
+++ b/kdecore/kconfig_compiler/kconfig_compiler.cpp
@@ -628,7 +628,7 @@ TQString param( const TQString &type )
else if ( type == "Password" ) return "const TQString &";
else {
kdError() <<"kconfig_compiler does not support type \""<< type <<"\""<<endl;
- return "TQString"; //For now, but an assert would be better
+ return TQSTRING_OBJECT_NAME_STRING; //For now, but an assert would be better
}
}
@@ -637,13 +637,13 @@ TQString param( const TQString &type )
*/
TQString cppType( const TQString &type )
{
- if ( type == "String" ) return "TQString";
- else if ( type == "StringList" ) return "TQStringList";
+ if ( type == "String" ) return TQSTRING_OBJECT_NAME_STRING;
+ else if ( type == "StringList" ) return TQSTRINGLIST_OBJECT_NAME_STRING;
else if ( type == "Font" ) return "TQFont";
else if ( type == "Rect" ) return "TQRect";
else if ( type == "Size" ) return "TQSize";
else if ( type == "Color" ) return "TQColor";
- else if ( type == "Point" ) return "TQPoint";
+ else if ( type == "Point" ) return TQPOINT_OBJECT_NAME_STRING;
else if ( type == "Int" ) return "int";
else if ( type == "UInt" ) return "uint";
else if ( type == "Bool" ) return "bool";
@@ -653,12 +653,12 @@ TQString cppType( const TQString &type )
else if ( type == "UInt64" ) return "TQ_UINT64";
else if ( type == "IntList" ) return "TQValueList<int>";
else if ( type == "Enum" ) return "int";
- else if ( type == "Path" ) return "TQString";
- else if ( type == "PathList" ) return "TQStringList";
- else if ( type == "Password" ) return "TQString";
+ else if ( type == "Path" ) return TQSTRING_OBJECT_NAME_STRING;
+ else if ( type == "PathList" ) return TQSTRINGLIST_OBJECT_NAME_STRING;
+ else if ( type == "Password" ) return TQSTRING_OBJECT_NAME_STRING;
else {
kdError()<<"kconfig_compiler does not support type \""<< type <<"\""<<endl;
- return "TQString"; //For now, but an assert would be better
+ return TQSTRING_OBJECT_NAME_STRING; //For now, but an assert would be better
}
}
@@ -685,7 +685,7 @@ TQString defaultValue( const TQString &type )
else if ( type == "Password" ) return "\"\""; // Use empty string, not null string!
else {
kdWarning()<<"Error, kconfig_compiler doesn't support the \""<< type <<"\" type!"<<endl;
- return "TQString"; //For now, but an assert would be better
+ return TQSTRING_OBJECT_NAME_STRING; //For now, but an assert would be better
}
}