Fix ktechlab FTBFS under gcc4.6

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1244446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent 7b69b8b372
commit faa9ae7ea5

@ -93,7 +93,7 @@ Item* Buffer::construct( ItemDocument *itemDocument, bool newItem, const char *i
LibraryItem* Buffer::libraryItem() LibraryItem* Buffer::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/buffer"), TQString("ec/buffer"),
i18n("Buffer"), i18n("Buffer"),
i18n("Logic"), i18n("Logic"),
"buffer.png", "buffer.png",
@ -155,7 +155,7 @@ Item* ECLogicInput::construct( ItemDocument *itemDocument, bool newItem, const c
LibraryItem* ECLogicInput::libraryItem() LibraryItem* ECLogicInput::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/logic_input"), TQString("ec/logic_input"),
i18n("Logic Input"), i18n("Logic Input"),
i18n("Logic"), i18n("Logic"),
"logic_input.png", "logic_input.png",
@ -224,7 +224,7 @@ Item* ECLogicOutput::construct( ItemDocument *itemDocument, bool newItem, const
LibraryItem* ECLogicOutput::libraryItem() LibraryItem* ECLogicOutput::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/logic_output"), TQString("ec/logic_output"),
i18n("Logic Output"), i18n("Logic Output"),
i18n("Logic"), i18n("Logic"),
"logic_output.png", "logic_output.png",

@ -27,7 +27,7 @@ Item* EC555::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* EC555::libraryItem() LibraryItem* EC555::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/555"), TQString("ec/555"),
i18n("555"), i18n("555"),
i18n("Integrated Circuits"), i18n("Integrated Circuits"),
"ic1.png", "ic1.png",

@ -43,7 +43,7 @@ Item* ECBCDTo7Segment::construct( ItemDocument *itemDocument, bool newItem, cons
LibraryItem* ECBCDTo7Segment::libraryItem() LibraryItem* ECBCDTo7Segment::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/bcd_to_seven_segment"), TQString("ec/bcd_to_seven_segment"),
i18n("BCD to 7 Segment"), i18n("BCD to 7 Segment"),
i18n("Integrated Circuits"), i18n("Integrated Circuits"),
"ic2.png", "ic2.png",

@ -26,7 +26,7 @@ Item* ECCurrentSource::construct( ItemDocument *itemDocument, bool newItem, cons
LibraryItem* ECCurrentSource::libraryItem() LibraryItem* ECCurrentSource::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/current_source"), TQString("ec/current_source"),
i18n("Current Source"), i18n("Current Source"),
i18n("Sources"), i18n("Sources"),
"current_source.png", "current_source.png",

@ -24,7 +24,7 @@ Item* ECGround::construct( ItemDocument *itemDocument, bool newItem, const char
LibraryItem* ECGround::libraryItem() LibraryItem* ECGround::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/ground"), TQString("ec/ground"),
i18n("Ground (0V)"), i18n("Ground (0V)"),
i18n("Sources"), i18n("Sources"),
"ground.png", "ground.png",

@ -26,7 +26,7 @@ Item* ECLed::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* ECLed::libraryItem() LibraryItem* ECLed::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/led"), TQString("ec/led"),
i18n("LED"), i18n("LED"),
i18n("Outputs"), i18n("Outputs"),
"led.png", "led.png",

@ -27,7 +27,7 @@ Item* ECSubcircuit::construct( ItemDocument *itemDocument, bool newItem, const c
LibraryItem* ECSubcircuit::libraryItem() LibraryItem* ECSubcircuit::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/subcircuit"), TQString("ec/subcircuit"),
TQString(), TQString(),
TQString(), TQString(),
TQString(), TQString(),

@ -141,7 +141,7 @@ Item* ECJKFlipFlop::construct( ItemDocument *itemDocument, bool newItem, const c
LibraryItem* ECJKFlipFlop::libraryItem() LibraryItem* ECJKFlipFlop::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/jk_flipflop"), TQString("ec/jk_flipflop"),
i18n("JK Flip-Flop"), i18n("JK Flip-Flop"),
i18n("Integrated Circuits"), i18n("Integrated Circuits"),
"ic3.png", "ic3.png",
@ -243,7 +243,7 @@ Item* ECSRFlipFlop::construct( ItemDocument *itemDocument, bool newItem, const c
LibraryItem* ECSRFlipFlop::libraryItem() LibraryItem* ECSRFlipFlop::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/sr_flipflop"), TQString("ec/sr_flipflop"),
i18n("SR Flip-Flop"), i18n("SR Flip-Flop"),
i18n("Integrated Circuits"), i18n("Integrated Circuits"),
"ic3.png", "ic3.png",

@ -144,7 +144,7 @@ Item* ECXnor::construct( ItemDocument *itemDocument, bool newItem, const char *i
LibraryItem* ECXnor::libraryItem() LibraryItem* ECXnor::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/xnor"), TQString("ec/xnor"),
i18n("XNOR gate"), i18n("XNOR gate"),
i18n("Logic"), i18n("Logic"),
"xnor.png", "xnor.png",
@ -216,7 +216,7 @@ Item* ECXor::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* ECXor::libraryItem() LibraryItem* ECXor::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/xor"), TQString("ec/xor"),
i18n("XOR gate"), i18n("XOR gate"),
i18n("Logic"), i18n("Logic"),
"xor.png", "xor.png",
@ -286,7 +286,7 @@ Item* ECOr::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* ECOr::libraryItem() LibraryItem* ECOr::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/or"), TQString("ec/or"),
i18n("OR gate"), i18n("OR gate"),
i18n("Logic"), i18n("Logic"),
"or.png", "or.png",
@ -357,7 +357,7 @@ Item* ECNor::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* ECNor::libraryItem() LibraryItem* ECNor::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/nor"), TQString("ec/nor"),
i18n("NOR gate"), i18n("NOR gate"),
i18n("Logic"), i18n("Logic"),
"nor.png", "nor.png",
@ -428,7 +428,7 @@ Item* ECNand::construct( ItemDocument *itemDocument, bool newItem, const char *i
LibraryItem* ECNand::libraryItem() LibraryItem* ECNand::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("ec/nand"), TQString("ec/nand"),
i18n("NAND gate"), i18n("NAND gate"),
i18n("Logic"), i18n("Logic"),
"nand.png", "nand.png",

@ -23,7 +23,7 @@ Item* Count::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Count::libraryItem() LibraryItem* Count::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/count"), TQString("flow/count"),
i18n("Count"), i18n("Count"),
i18n("Functions"), i18n("Functions"),
"ppcount.png", "ppcount.png",

@ -23,7 +23,7 @@ Item* Delay::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Delay::libraryItem() LibraryItem* Delay::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/delay"), TQString("flow/delay"),
i18n("Delay"), i18n("Delay"),
i18n("Functions"), i18n("Functions"),
"delay.png", "delay.png",

@ -23,7 +23,7 @@ Item* Embed::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Embed::libraryItem() LibraryItem* Embed::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/embed"), TQString("flow/embed"),
i18n("Embed"), i18n("Embed"),
i18n("Common"), i18n("Common"),
"embed.png", "embed.png",

@ -22,7 +22,7 @@ Item* Pulse::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Pulse::libraryItem() LibraryItem* Pulse::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/pulse"), TQString("flow/pulse"),
i18n("Pulse"), i18n("Pulse"),
i18n("Functions"), i18n("Functions"),
"pppulse.png", "pppulse.png",

@ -23,7 +23,7 @@ Item* Start::construct( ItemDocument *itemDocument, bool newItem, const char *id
LibraryItem* Start::libraryItem() LibraryItem* Start::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/start"), TQString("flow/start"),
i18n("Start"), i18n("Start"),
i18n("Common"), i18n("Common"),
"start.png", "start.png",

@ -23,7 +23,7 @@ Item* VarAssignment::construct( ItemDocument *itemDocument, bool newItem, const
LibraryItem* VarAssignment::libraryItem() LibraryItem* VarAssignment::libraryItem()
{ {
return new LibraryItem( return new LibraryItem(
TQString::TQString("flow/varassignment"), TQString("flow/varassignment"),
i18n("Assignment"), i18n("Assignment"),
i18n("Variables"), i18n("Variables"),
"assignment.png", "assignment.png",

Loading…
Cancel
Save