diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-07-20 05:57:23 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-07-20 05:57:23 +0000 |
| commit | a44d3c2ebd20e05c7c574cd3a13888fc471067b9 (patch) | |
| tree | ed5b1750e4e074eb1cf01a59913b97d9e9ce2f43 /pokemodr/ScriptWidget.cpp | |
| parent | ac55d15e484e2357954af3a6a3573c79fbbd88d8 (diff) | |
| download | sigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.tar.gz sigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.tar.xz sigen-a44d3c2ebd20e05c7c574cd3a13888fc471067b9.zip | |
[ADD] Added pokescripting to the spec file
[FIX] Added status tips and whats this tags to widgets in pokemodr
[FIX] Removed the list sprite for the species
[FIX] No more nidoran group needed (scripts should take care of it)
[FIX] Height no longer broken between feet and inches
[FIX] Fixed a bug in the TeamMember stat generation
[FIX] No more global skins; should be scripted
[FIX] Missed somt COPY() macros
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@227 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/ScriptWidget.cpp')
| -rw-r--r-- | pokemodr/ScriptWidget.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pokemodr/ScriptWidget.cpp b/pokemodr/ScriptWidget.cpp index 2097dd62..1e3ac794 100644 --- a/pokemodr/ScriptWidget.cpp +++ b/pokemodr/ScriptWidget.cpp @@ -38,7 +38,9 @@ Pokemodr::ScriptWidget::ScriptWidget(QWidget* parent, const Pokemod::Script& val languages["Ruby"] = "ruby"; languages["JavaScript"] = "kjs"; languages["Java"] = "java"; - languages["Falcon"] = "falcon"; + languages["Falcon"] = "falcon"; // No highlight rules yet + languages["PHP"] = "php"; + languages["C#"] = "mono"; QList<QString> langs = languages.keys(); foreach (QString language, langs) varInterpreter->addItem(language, languages[language]); @@ -57,10 +59,11 @@ Pokemodr::ScriptWidget::ScriptWidget(QWidget* parent, const Pokemod::Script& val m_view->action(KStandardAction::name(KStandardAction::Cut))->setShortcuts(QKeySequence::UnknownKey); m_view->action(KStandardAction::name(KStandardAction::Copy))->setShortcuts(QKeySequence::UnknownKey); m_view->action(KStandardAction::name(KStandardAction::PasteText))->setShortcuts(QKeySequence::UnknownKey); - // FIXME: this is so hacky and error prone...needs KDE4 trunk though + // FIXME: Needs KDE4 4.0.98 or higher (maybe less, but 98 should be enough) // QList<KActionCollection*> collections = KActionCollection::allCollections(); // foreach (KActionCollection* collection, collections) // { +// // FIXME: Nothing else should have a Preferences action right? // if (collection->action(KStandardAction::name(KStandardAction::Preferences))) // { // connect(collection->action(KStandardAction::name(KStandardAction::Cut)), SIGNAL(triggered()), m_view->action(KStandardAction::name(KStandardAction::Cut)), SIGNAL(triggered())); |
