def main(): app_name="danbooru_client" catalog = "danbooru_client" program_name = ki18n("Danbooru Client") version = "1.0.0" description = ki18n("A client for Danbooru sites.") license = KAboutData.License_GPL copyright = ki18n("(C) 2009 Luca Beltrame") text = ki18n("Danbooru Client is a program to" " access Danbooru image boards.") home_page = u"http://www.dennogumi.org" bug_email = "*****@*****.**" about_data = KAboutData(app_name, catalog, program_name, version, description, license, copyright, text, home_page, bug_email) about_data.setProgramIconName("internet-web-browser") component_data = KComponentData(about_data) component_data.setAboutData(about_data) KCmdLineArgs.init(sys.argv, about_data) app = KApplication() window = mainwindow.MainWindow() window.show() app.exec_()
def main(): app_name = "vlc_snapper" catalog = "danbooru_client" program_name = ki18n("KDE VLC Snapper") version = "0.1" description = ki18n("A screenshot taker for video clips.") license = KAboutData.License_GPL copyright = ki18n("(C) 2011 Luca Beltrame") text = ki18n("") home_page = "http://www.dennogumi.org" bug_email = "*****@*****.**" about_data = KAboutData( app_name, catalog, program_name, version, description, license, copyright, text, home_page, bug_email ) about_data.setProgramIconName("internet-web-browser") KCmdLineArgs.init(sys.argv, about_data) app = KApplication() dialog = capturewidget.CaptureDialog() dialog.show() app.lastWindowClosed.connect(dialog.deleteLater) app.exec_()
def __init__(self): aboutData = KAboutData(APP_NAME, CATALOG, PROGRAM_NAME, VERSION, DESCRIPTION, LICENSE, COPYRIGHT, TEXT, HOMEPAGE, BUG_EMAIL) aboutData.addAuthor(ki18n("GuoCi"), ki18n("Python 3 port maintainer"), "*****@*****.**", "") aboutData.addAuthor(ki18n("Chris Dekter"), ki18n("Developer"), "*****@*****.**", "") aboutData.addAuthor(ki18n("Sam Peterson"), ki18n("Original developer"), "*****@*****.**", "") aboutData.setProgramIconName(common.ICON_FILE) self.aboutData = aboutData KCmdLineArgs.init(sys.argv, aboutData) options = KCmdLineOptions() options.add("l").add("verbose", ki18n("Enable verbose logging")) options.add("c").add("configure", ki18n("Show the configuration window on startup")) KCmdLineArgs.addCmdLineOptions(options) args = KCmdLineArgs.parsedArgs() self.app = KApplication() try: # Create configuration directory if not os.path.exists(CONFIG_DIR): os.makedirs(CONFIG_DIR) # Create data directory (for log file) if not os.path.exists(DATA_DIR): os.makedirs(DATA_DIR) # Create run directory (for lock file) if not os.path.exists(RUN_DIR): os.makedirs(RUN_DIR) # Initialise logger rootLogger = logging.getLogger() rootLogger.setLevel(logging.DEBUG) if args.isSet("verbose"): handler = logging.StreamHandler(sys.stdout) else: handler = logging.handlers.RotatingFileHandler( LOG_FILE, maxBytes=MAX_LOG_SIZE, backupCount=MAX_LOG_COUNT) handler.setLevel(logging.INFO) handler.setFormatter(logging.Formatter(LOG_FORMAT)) rootLogger.addHandler(handler) if self.__verifyNotRunning(): self.__createLockFile() self.initialise(args.isSet("configure")) except Exception as e: self.show_error_dialog( i18n("Fatal error starting AutoKey.\n") + str(e)) logging.exception("Fatal error starting AutoKey: " + str(e)) sys.exit(1)
def main(): app_name = "vlc_snapper" catalog = "danbooru_client" program_name = ki18n("KDE VLC Snapper") version = "0.1" description = ki18n("A screenshot taker for video clips.") license = KAboutData.License_GPL copyright = ki18n("(C) 2011 Luca Beltrame") text = ki18n("") home_page = "http://www.dennogumi.org" bug_email = "*****@*****.**" about_data = KAboutData(app_name, catalog, program_name, version, description, license, copyright, text, home_page, bug_email) about_data.setProgramIconName("internet-web-browser") KCmdLineArgs.init(sys.argv, about_data) app = KApplication() dialog = capturewidget.CaptureDialog() dialog.show() app.lastWindowClosed.connect(dialog.deleteLater) app.exec_()
def main(): app_name = "danbooru_client" catalog = "danbooru_client" program_name = ki18n("Danbooru Client") version = "1.0.0" description = ki18n("A client for Danbooru sites.") license = KAboutData.License_GPL copyright = ki18n("(C) 2009 Luca Beltrame") text = ki18n("Danbooru Client is a program to" " access Danbooru image boards.") home_page = u"http://www.dennogumi.org" bug_email = "*****@*****.**" about_data = KAboutData(app_name, catalog, program_name, version, description, license, copyright, text, home_page, bug_email) about_data.setProgramIconName("internet-web-browser") component_data = KComponentData(about_data) component_data.setAboutData(about_data) KCmdLineArgs.init(sys.argv, about_data) app = KApplication() window = mainwindow.MainWindow() window.show() app.exec_()
def __init__(self): aboutData = KAboutData(APP_NAME, CATALOG, PROGRAM_NAME, VERSION, DESCRIPTION, LICENSE, COPYRIGHT, TEXT, HOMEPAGE, BUG_EMAIL) aboutData.addAuthor(ki18n("Chris Dekter"), ki18n("Developer"), "*****@*****.**", "") aboutData.addAuthor(ki18n("Sam Peterson"), ki18n("Original developer"), "*****@*****.**", "") aboutData.setProgramIconName(common.ICON_FILE) self.aboutData = aboutData aboutData_py3 = KAboutData(APP_NAME, CATALOG, PROGRAM_NAME_PY3, VERSION, DESCRIPTION_PY3, LICENSE, COPYRIGHT_PY3, TEXT, HOMEPAGE_PY3, BUG_EMAIL_PY3) aboutData_py3.addAuthor(ki18n("GuoCi"), ki18n("Python 3 port maintainer"), "*****@*****.**", "") aboutData_py3.addAuthor(ki18n("Chris Dekter"), ki18n("Developer"), "*****@*****.**", "") aboutData_py3.addAuthor(ki18n("Sam Peterson"), ki18n("Original developer"), "*****@*****.**", "") aboutData_py3.setProgramIconName(common.ICON_FILE) self.aboutData_py3 = aboutData_py3 KCmdLineArgs.init(sys.argv, aboutData) options = KCmdLineOptions() options.add("l").add("verbose", ki18n("Enable verbose logging")) options.add("c").add("configure", ki18n("Show the configuration window on startup")) KCmdLineArgs.addCmdLineOptions(options) args = KCmdLineArgs.parsedArgs() self.app = KApplication() try: # Create configuration directory if not os.path.exists(CONFIG_DIR): os.makedirs(CONFIG_DIR) # Initialise logger rootLogger = logging.getLogger() rootLogger.setLevel(logging.DEBUG) if args.isSet("verbose"): handler = logging.StreamHandler(sys.stdout) else: handler = logging.handlers.RotatingFileHandler(LOG_FILE, maxBytes=MAX_LOG_SIZE, backupCount=MAX_LOG_COUNT) handler.setLevel(logging.INFO) handler.setFormatter(logging.Formatter(LOG_FORMAT)) rootLogger.addHandler(handler) if self.__verifyNotRunning(): self.__createLockFile() self.initialise(args.isSet("configure")) except Exception as e: self.show_error_dialog(i18n("Fatal error starting AutoKey.\n") + str(e)) logging.exception("Fatal error starting AutoKey: " + str(e)) sys.exit(1)
if ctx.Pds.session == ctx.pds.Kde4: from PyKDE4.kdecore import KAboutData, ki18n, ki18nc PACKAGE = "Service Manager" # Application Data appName = "service-manager" modName = "servicemanager" programName = ki18n(PACKAGE) version = "3.0.0" description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/service-manager" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("flag-yellow")
# any later version. # # Please read the COPYING file. # # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "system-manager" modName = "systemmanager" programName = ki18n("System Manager") version = "0.9.7" description = ki18n("System Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("Current Maintainer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("preferences-other")
# # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc PACKAGE = "User Manager" # Application Data appName = "user-manager" modName = "usermanager" programName = ki18n(PACKAGE) version = "3.0.2" description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/user-manager" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("system-users")
# # Please read the COPYING file. # # Package Manager Version String version = "3.0.3" PACKAGE = "Package Manager" # PyKDE4 Imports from PyKDE4.kdecore import ki18n, ki18nc, KAboutData # Application Data appName = "package-manager" catalog = appName programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/package-manager" bugEmail = "*****@*****.**" aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Developer")) aboutData.addAuthor(ki18n("Faik Uygur"), ki18n("First Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) aboutData.setProgramIconName(":/data/package-manager.png")
PACKAGE = "Service Manager" appName = "service-manager" modName = "servicemanager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/service-manager" bugEmail = "*****@*****.**" icon = ("flag-yellow", "flag") catalog = appName if ctx.Pds.session == ctx.pds.Kde4: # PyKDE4 Stuff from PyKDE4.kdecore import KAboutData, ki18n, ki18nc programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName(icon)
PACKAGE = "Boot Manager" appName = "boot-manager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/boot-manager" bugEmail = "*****@*****.**" if ctx.Pds.session == ctx.pds.Kde4: # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2011 TUBITAK/UEKAE") text = ki18n(None) catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.addAuthor(ki18n("Aydan Taşdemir"), ki18n("Pure Qt Support")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("computer")
PACKAGE = "Firewall Manager" appName = "firewall-manager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/firewall-manager" bugEmail = "*****@*****.**" if ctx.Pds.session == ctx.pds.Kde4: # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data modName = "firewallmanager" programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("security-high")
# # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc PACKAGE = "User Manager" # Application Data appName = "user-manager" modName = "usermanager" programName = ki18n(PACKAGE) version = "3.0.2" description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/user-manager" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData( appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail ) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("system-users")
appName = "service-manager" version = "3.0.0" if ctx.Pds.session == ctx.pds.Kde4: from PyKDE4.kdecore import KAboutData, ki18n, ki18nc PACKAGE = "Service Manager" # Application Data appName = "service-manager" modName = "servicemanager" programName = ki18n(PACKAGE) version = "3.0.0" description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/service-manager" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("flag-yellow")
# Software Foundation; either version 2 of the License, or (at your option) # any later version. # # Please read the COPYING file. # # PyKDE4 Stuff from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "network-manager" modName = "networkmanager" programName = ki18n("Network Manager") version = "2.9.17" description = ki18n("Network Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("applications-internet")
# Software Foundation; either version 2 of the License, or (at your option) # any later version. # # Please read the COPYING file. # # PyKDE4 Stuff from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "network-manager" modName = "networkmanager" programName = ki18n("Network Manager") version = "2.9.17" description = ki18n("Network Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("applications-internet")
if not dbus.get_default_main_loop(): from dbus.mainloop.qt import DBusQtMainLoop DBusQtMainLoop(set_as_default=True) aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) KCmdLineArgs.init(sys.argv, aboutData) app = KApplication() app.setQuitOnLastWindowClosed(False) mw = MainWindow() mw.show() aboutData.setProgramIconName(":/icons/icons/manager.png") aboutData.addAuthor(ki18n("Cihan Okyay"), ki18n("Current Maintainer"), "*****@*****.**") def showw(event): if event == QtGui.QSystemTrayIcon.Trigger: if not mw.isVisible(): mw.show() else: mw.hide() menu = QtGui.QMenu() exitAction = QtGui.QAction(QtGui.QIcon(":/icons/icons/exit.png"), (u"Exit"),
import context as ctx PACKAGE = "Boot Manager" appName = "boot-manager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/boot-manager" bugEmail = "*****@*****.**" if ctx.Pds.session == ctx.pds.Kde4: # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2011 TUBITAK/UEKAE") text = ki18n(None) catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.addAuthor(ki18n("Aydan Taşdemir"), ki18n("Pure Qt Support")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("computer")
# import context as ctx PACKAGE = "Firewall Manager" appName = "firewall-manager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/firewall-manager" bugEmail = "*****@*****.**" if ctx.Pds.session == ctx.pds.Kde4: # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data modName = "firewallmanager" programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("security-high")
# Application Data PACKAGE = "Service Manager" appName = "service-manager" modName = "servicemanager" version = "3.0.0" homePage = "http://developer.pardus.org.tr/projects/service-manager" bugEmail = "*****@*****.**" icon = ("flag-yellow", "flag") catalog = appName if ctx.Pds.session == ctx.pds.Kde4: # PyKDE4 Stuff from PyKDE4.kdecore import KAboutData, ki18n, ki18nc programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("COMAR Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName(icon)
# PACKAGE = "Disk Manager" # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "disk-manager" modName = "diskmanager" programName = ki18n("Disk Manager") version = "3.0.0" description = ki18n("Disk Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("drive-harddisk")
# the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # Please read the COPYING file. # # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "system-manager" modName = "systemmanager" programName = ki18n("System Manager") version = "0.9.7" description = ki18n("System Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("Current Maintainer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("preferences-other")
# # Package Manager Version String version = "3.0.3" PACKAGE = "Package Manager" # PyKDE4 Imports from PyKDE4.kdecore import ki18n, ki18nc, KAboutData # Application Data appName = "package-manager" catalog = appName programName = ki18n(PACKAGE) description = ki18n(PACKAGE) license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://developer.pardus.org.tr/projects/package-manager" bugEmail = "*****@*****.**" aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Authors aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Developer")) aboutData.addAuthor(ki18n("Faik Uygur"), ki18n("First Author")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) aboutData.setProgramIconName(":/data/package-manager.png")
# This program is free software; you can redistribute it and/or modify it under # the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # Please read the COPYING file. # # PyKDE from PyKDE4.kdecore import KAboutData, ki18n # Application Data appName = "display-settings" modName = "displaysettings" programName = ki18n("Display Settings") version = "0.9.96" description = ki18n("Display Configuration Tool") license = KAboutData.License_GPL copyright = ki18n("(c) 2009 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Fatih Aşıcı"), ki18n("Current Maintainer")) # Use this if icon name is different than appName aboutData.setProgramIconName("preferences-desktop-display")
# # Please read the COPYING file. # PACKAGE = "Disk Manager" # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "disk-manager" modName = "diskmanager" programName = ki18n("Disk Manager") version = "3.0.0" description = ki18n("Disk Manager") license = KAboutData.License_GPL copyright = ki18n("(c) 2006-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Gökmen Göksel"), ki18n("Current Maintainer")) aboutData.addAuthor(ki18n("Bahadır Kandemir"), ki18n("First Developer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("drive-harddisk")
if not dbus.get_default_main_loop(): from dbus.mainloop.qt import DBusQtMainLoop DBusQtMainLoop(set_as_default=True) aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) KCmdLineArgs.init(sys.argv, aboutData) app = KApplication() app.setQuitOnLastWindowClosed(False) mw = MainWindow() mw.show() aboutData.setProgramIconName(":/icons/icons/manager.png") aboutData.addAuthor(ki18n("Cihan Okyay"), ki18n("Current Maintainer"), "*****@*****.**") def showw(event): if event == QtGui.QSystemTrayIcon.Trigger: if not mw.isVisible(): mw.show() else: mw.hide() menu = QtGui.QMenu() exitAction = QtGui.QAction(QtGui.QIcon(":/icons/icons/exit.png"), (u"Exit"), None) connectAction = QtGui.QAction(QtGui.QIcon(":/icons/icons/ok.png"), (u"Connect"), None) disconnectAction = QtGui.QAction(QtGui.QIcon(":/icons/icons/disconnet.png"), (u"Disconnect"), None)
# any later version. # # Please read the COPYING file. # # PyKDE from PyKDE4.kdecore import KAboutData, ki18n, ki18nc # Application Data appName = "display-settings" modName = "displaysettings" programName = ki18n("Display Settings") version = "1.0.2" description = ki18n("Display Configuration Tool") license = KAboutData.License_GPL copyright = ki18n("(c) 2009-2010 TUBITAK/UEKAE") text = ki18n(None) homePage = "http://www.pardus.org.tr/eng/projects" bugEmail = "*****@*****.**" catalog = appName aboutData = KAboutData(appName, catalog, programName, version, description, license, copyright, text, homePage, bugEmail) # Author(s) aboutData.addAuthor(ki18n("Fatih Aşıcı"), ki18n("Current Maintainer")) aboutData.setTranslator(ki18nc("NAME OF TRANSLATORS", "Your names"), ki18nc("EMAIL OF TRANSLATORS", "Your emails")) # Use this if icon name is different than appName aboutData.setProgramIconName("preferences-desktop-display")