Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 2d47ef9cd2
Fetching contributors…

Cannot retrieve contributors at this time

file 57 lines (46 sloc) 2.282 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
/***************************************************************************
main.cpp - description
-------------------
begin : Ne apr 1 11:28:13 CEST 2001
copyright : (C) 2001 by Jozef Kosoru
: (C) 2011 by Kasper Laudrup
email : jozef.kosoru@pobox.sk
: laudrup@stacktrace.dk
***************************************************************************/

/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License version 2 *
* as published by the Free Software Foundation. *
* *
***************************************************************************/

#include <KApplication>
#include <KCmdLineArgs>
#include <KAboutData>
#include <KLocale>

#include "creox.h"
#include "privilegesswitcher.h"
#include "crsplashscreen.h"

static const char *description = "<b>creox</b> - The Realtime Sound Effector";

int main(int argc, char *argv[])
{
  PrivilegesSwitcher privilegesSwitcher;
  privilegesSwitcher.releasePrivileges();

  KAboutData aboutData("creox", 0, ki18n("creox"),
                       QByteArray("0.3.0"),
                       ki18n(description),
                       KAboutData::License_GPL,
                       ki18n("(c) 2003, Jozef Kosoru, (c) 2011, Kasper Laudrup"));

  aboutData.addAuthor(ki18n("Jozef Kosoru"), ki18n("Original author"), "jozef.kosoru@pobox.sk");
  aboutData.addAuthor(ki18n("Kasper Laudrup"), ki18n("KDE 4 port"), "laudrup@stacktrace.dk");
  aboutData.addCredit(ki18n("Claus Bjerre Pedersen"), ki18n("Tester, bug-reporter"),
                      "claus.bjerre@altavista.net");
  KCmdLineArgs::init(argc, argv, &aboutData);

  KApplication a;

  CrSplashScreen* const splashScreen = new CrSplashScreen(QString::fromLatin1("crsplash.png"));
  splashScreen->show();

  Creox *creox = new Creox();
  a.setMainWidget(creox);
  creox->show();

  return a.exec();
}
Something went wrong with that request. Please try again.