diff options
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 ) |