diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/flowparts/while.cpp | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-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/while.cpp')
-rw-r--r-- | src/flowparts/while.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flowparts/while.cpp b/src/flowparts/while.cpp index b0461df..ddcf981 100644 --- a/src/flowparts/while.cpp +++ b/src/flowparts/while.cpp @@ -23,7 +23,7 @@ Item* While::construct( ItemDocument *itemDocument, bool newItem, const char *id LibraryItem* While::libraryItem() { return new LibraryItem( - QString("flow/while"), + TQString("flow/while"), i18n("While"), i18n("Loops"), "while.png", @@ -47,7 +47,7 @@ While::While( ICNDocument *icnDocument, bool newItem, const char *id ) createProperty( "1op", Variant::Type::Select ); property("1op")->setToolbarCaption(" "); property("1op")->setEditorCaption( i18n("Operation") ); - property("1op")->setAllowed( QStringList::split( ',', "==,<,>,<=,>=,!=" ) ); + property("1op")->setAllowed( TQStringList::split( ',', "==,<,>,<=,>=,!=" ) ); property("1op")->setValue("=="); createProperty( "2var2", Variant::Type::Combo ); @@ -62,7 +62,7 @@ While::~While() void While::dataChanged() { - setCaption( i18n("while %1 %2 %3").arg(dataString("0var1")).arg(dataString("1op")).arg(dataString("2var2")) ); + setCaption( i18n("while %1 %2 %3").tqarg(dataString("0var1")).tqarg(dataString("1op")).tqarg(dataString("2var2")) ); } void While::generateMicrobe( FlowCode *code ) |