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/embed.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/embed.cpp')
-rw-r--r-- | src/flowparts/embed.cpp | 8 |
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) ); } |