summaryrefslogtreecommitdiffstats
path: root/src/flowparts/embed.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/flowparts/embed.cpp')
-rw-r--r--src/flowparts/embed.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/flowparts/embed.cpp b/src/flowparts/embed.cpp
index ca04c65..996ce2f 100644
--- a/src/flowparts/embed.cpp
+++ b/src/flowparts/embed.cpp
@@ -23,7 +23,7 @@ Item* Embed::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Embed::libraryItem()
{
return new LibraryItem(
- QString::QString("flow/embed"),
+ TQString::TQString("flow/embed"),
i18n("Embed"),
i18n("Common"),
"embed.png",
@@ -42,7 +42,7 @@ Embed::Embed( ICNDocument *icnDocument, bool newItem, const char *id )
createStdOutput();
createProperty( "type", Variant::Type::Select );
- property("type")->setAllowed( QStringList::split( ',', "Microbe,Assembly" ) );
+ property("type")->setAllowed( TQStringList::split( ',', "Microbe,Assembly" ) );
property("type")->setValue("Microbe");
property("type")->setCaption( i18n("Type") ); // TODO: replace this with i18n( "the type", "Type" );
@@ -58,8 +58,8 @@ Embed::~Embed()
void Embed::dataChanged()
{
- const QString sample = dataString("code").left(10).replace("\n"," ");
- setCaption( i18n("%1: %2...").arg(dataString("type")).arg(sample) );
+ const TQString sample = dataString("code").left(10).tqreplace("\n"," ");
+ setCaption( i18n("%1: %2...").tqarg(dataString("type")).tqarg(sample) );
}