summaryrefslogtreecommitdiffstats
path: root/src/flowparts/varassignment.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/flowparts/varassignment.cpp
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/flowparts/varassignment.cpp')
-rw-r--r--src/flowparts/varassignment.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/flowparts/varassignment.cpp b/src/flowparts/varassignment.cpp
index 44b76fd..4156779 100644
--- a/src/flowparts/varassignment.cpp
+++ b/src/flowparts/varassignment.cpp
@@ -23,7 +23,7 @@ Item* VarAssignment::construct( ItemDocument *itemDocument, bool newItem, const
LibraryItem* VarAssignment::libraryItem()
{
return new LibraryItem(
- QString::QString("flow/varassignment"),
+ TQString::TQString("flow/varassignment"),
i18n("Assignment"),
i18n("Variables"),
"assignment.png",
@@ -66,14 +66,14 @@ void VarAssignment::generateMicrobe( FlowCode *code )
code->addCodeBranch( outputPart("stdoutput") );
#if 0
- QString var1 = dataString("0-var1");
- QString var2 = dataString("2-var2");
- QString op = dataString("1-op");
+ TQString var1 = dataString("0-var1");
+ TQString var2 = dataString("2-var2");
+ TQString op = dataString("1-op");
if ( FlowCode::isLiteral(var1) ) return;
code->addVariable(var1);
- QString newCode;
+ TQString newCode;
if ( !FlowCode::isLiteral(var1) )
{