summaryrefslogtreecommitdiffstats
path: root/pokemodr/Pokemodr.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-07-26 21:15:33 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-07-26 21:15:33 +0000
commit227d31690824c44d4e92dc4fed07a8c43ea8cfb9 (patch)
treed670b44e51da56d0f232e99a4270648b51164640 /pokemodr/Pokemodr.cpp
parente260085a116271e49c3d1d835eac1df70424f4c6 (diff)
[FIX] Fixed an infinite loop in Fraction::reduce
[FIX] FractionWidget's behavior is now an enum [FIX] Fixed up some stuff in KAboutData for pokemodr [FIX] ScriptWidget value is set at construction now [DEL] Removed Pokemodr.h (nothing useful) git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@230 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/Pokemodr.cpp')
-rw-r--r--pokemodr/Pokemodr.cpp18
1 files changed, 13 insertions, 5 deletions
diff --git a/pokemodr/Pokemodr.cpp b/pokemodr/Pokemodr.cpp
index bfee9d63..0f83f96e 100644
--- a/pokemodr/Pokemodr.cpp
+++ b/pokemodr/Pokemodr.cpp
@@ -15,9 +15,6 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Header include
-#include "Pokemodr.h"
-
// Pokemodr includes
#include "PokemodrUI.h"
@@ -26,6 +23,8 @@
#include <KApplication>
#include <KCmdLineArgs>
+#define stringify(x) #x
+
static void messageHandler(QtMsgType type, const char* message)
{
switch (type)
@@ -49,13 +48,22 @@ int main(int argc, char* argv[])
{
qInstallMsgHandler(messageHandler);
- KAboutData about("pokemodr", "pokemodr", ki18n("Pokémodr"), VERSION_STRING, ki18n(""), KAboutData::License_Custom, ki18n("©2007-2008 Ben Boeckel"), ki18n("This program offers an easy interface so that Pokémods can be easily created."), "http://sourceforge.net/projects/pokegen");
+ // TODO: update to KAboutData::License_GPL_V3 (KDE 4.1)
+ KAboutData about("pokemodr", "pokemodr", ki18n("Pokémodr"), stringify(VERSION), ki18n(""), KAboutData::License_Unknown, ki18n("©2007-2008 Ben Boeckel"), ki18n("This program offers an easy interface so that Pokémods can be easily created."), "http://sourceforge.net/projects/pokegen");
about.setLicenseTextFile("LICENSE");
about.setProgramName(ki18n("Pokémodr"));
about.addAuthor(ki18n("Ben Boeckel"), ki18n("Lead Programmer"), "MathStuf@gmail.com", "");
about.addCredit(ki18n("Peter Fernandes"), ki18n("Ideas, "), "supersonicandtails@gmail.com", "http://www.hypersonicsoft.org");
about.addCredit(ki18n("Kevin Kofler"), ki18n("Qt, KDE, debugging help"), "kevin.kofler@chello.at", "http://www.tigen.org/kevin.kofler");
- about.addCredit(ki18n("Luke Greco"), ki18n("Ideas, debugging"), "sirlewk@gmail.com", "");
+ about.addCredit(ki18n("Luke Greco"), ki18n("Ideas, Tester"), "sirlewk@gmail.com", "");
+// about.addCredit(ki18n("Mike Roberts"), ki18n("Testing code, Tester"), "", "");
+ about.setBugAddress("http://sourceforge.net/tracker/?group_id=189309&atid=928809");
+ about.setCopyrightStatement(ki18n("©2007-2008, Ben Boeckel"));
+ about.setOrganizationDomain("");
+ // TODO: Need one of these...
+// about.setProgramLogo();
+ // TODO: And some of these...
+ about.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails"));
KCmdLineArgs::init(argc, argv, &about);
KCmdLineOptions options;