diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdeui/kstdguiitem.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kstdguiitem.cpp')
-rw-r--r-- | kdeui/kstdguiitem.cpp | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/kdeui/kstdguiitem.cpp b/kdeui/kstdguiitem.cpp index 8391819ed..4b3591789 100644 --- a/kdeui/kstdguiitem.cpp +++ b/kdeui/kstdguiitem.cpp @@ -48,7 +48,7 @@ KGuiItem KStdGuiItem::guiItem ( StdItem ui_enum ) case Reset : return reset(); case Delete : return del(); case Insert : return insert(); - case Find : return find(); + case Find : return tqfind(); case Stop : return stop(); case Add : return add(); case Remove : return remove(); @@ -62,34 +62,34 @@ KGuiItem KStdGuiItem::guiItem ( StdItem ui_enum ) TQString KStdGuiItem::stdItem( StdItem ui_enum ) { switch (ui_enum ) { - case Ok : return TQString::fromLatin1("ok"); - case Cancel : return TQString::fromLatin1("cancel"); - case Yes : return TQString::fromLatin1("yes"); - case No : return TQString::fromLatin1("no"); - case Discard : return TQString::fromLatin1("discard"); - case Save : return TQString::fromLatin1("save"); - case DontSave : return TQString::fromLatin1("dontSave"); - case SaveAs : return TQString::fromLatin1("saveAs"); - case Apply : return TQString::fromLatin1("apply"); - case Help : return TQString::fromLatin1("help"); - case Close : return TQString::fromLatin1("close"); - case Defaults : return TQString::fromLatin1("defaults"); - case Back : return TQString::fromLatin1("back"); - case Forward : return TQString::fromLatin1("forward"); - case Print : return TQString::fromLatin1("print"); - case Continue : return TQString::fromLatin1("continue"); - case Open : return TQString::fromLatin1("open"); - case Quit : return TQString::fromLatin1("quit"); - case AdminMode: return TQString::fromLatin1("adminMode"); - case Delete : return TQString::fromLatin1("delete"); - case Insert : return TQString::fromLatin1("insert"); - case Find : return TQString::fromLatin1("find"); - case Stop : return TQString::fromLatin1("stop"); - case Add : return TQString::fromLatin1("add"); - case Remove : return TQString::fromLatin1("remove"); - case Test : return TQString::fromLatin1("test"); - case Properties : return TQString::fromLatin1("properties"); - case Overwrite : return TQString::fromLatin1("overwrite"); + case Ok : return TQString::tqfromLatin1("ok"); + case Cancel : return TQString::tqfromLatin1("cancel"); + case Yes : return TQString::tqfromLatin1("yes"); + case No : return TQString::tqfromLatin1("no"); + case Discard : return TQString::tqfromLatin1("discard"); + case Save : return TQString::tqfromLatin1("save"); + case DontSave : return TQString::tqfromLatin1("dontSave"); + case SaveAs : return TQString::tqfromLatin1("saveAs"); + case Apply : return TQString::tqfromLatin1("apply"); + case Help : return TQString::tqfromLatin1("help"); + case Close : return TQString::tqfromLatin1("close"); + case Defaults : return TQString::tqfromLatin1("defaults"); + case Back : return TQString::tqfromLatin1("back"); + case Forward : return TQString::tqfromLatin1("forward"); + case Print : return TQString::tqfromLatin1("print"); + case Continue : return TQString::tqfromLatin1("continue"); + case Open : return TQString::tqfromLatin1("open"); + case Quit : return TQString::tqfromLatin1("quit"); + case AdminMode: return TQString::tqfromLatin1("adminMode"); + case Delete : return TQString::tqfromLatin1("delete"); + case Insert : return TQString::tqfromLatin1("insert"); + case Find : return TQString::tqfromLatin1("tqfind"); + case Stop : return TQString::tqfromLatin1("stop"); + case Add : return TQString::tqfromLatin1("add"); + case Remove : return TQString::tqfromLatin1("remove"); + case Test : return TQString::tqfromLatin1("test"); + case Properties : return TQString::tqfromLatin1("properties"); + case Overwrite : return TQString::tqfromLatin1("overwrite"); default : return TQString::null; }; } @@ -249,9 +249,9 @@ KGuiItem KStdGuiItem::configure() return KGuiItem( i18n( "Confi&gure..." ), "configure" ); } -KGuiItem KStdGuiItem::find() +KGuiItem KStdGuiItem::tqfind() { - return KGuiItem(i18n("&Find"), "find"); + return KGuiItem(i18n("&Find"), "tqfind"); } KGuiItem KStdGuiItem::stop() |