summaryrefslogtreecommitdiffstats
path: root/src/flowparts/repeat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flowparts/repeat.cpp')
-rw-r--r--src/flowparts/repeat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/flowparts/repeat.cpp b/src/flowparts/repeat.cpp
index 562bb03..53529ac 100644
--- a/src/flowparts/repeat.cpp
+++ b/src/flowparts/repeat.cpp
@@ -23,7 +23,7 @@ Item* Repeat::construct( ItemDocument *itemDocument, bool newItem, const char *i
LibraryItem* Repeat::libraryItem()
{
return new LibraryItem(
- QString("flow/repeat"),
+ TQString("flow/repeat"),
i18n("Repeat"),
i18n("Loops"),
"repeat.png",
@@ -47,7 +47,7 @@ Repeat::Repeat( 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 @@ Repeat::~Repeat()
void Repeat::dataChanged()
{
- setCaption( i18n("repeat until %1 %2 %3").arg(dataString("0var1")).arg(dataString("1op")).arg(dataString("2var2")) );
+ setCaption( i18n("repeat until %1 %2 %3").tqarg(dataString("0var1")).tqarg(dataString("1op")).tqarg(dataString("2var2")) );
}
void Repeat::generateMicrobe( FlowCode *code )