Пример #1
0
def main():
    about = make_about_data(ki18nc('tray application description',
                                   'touchpad management application'))

    KCmdLineArgs.init(sys.argv, about)
    KUniqueApplication.addCmdLineOptions()

    if not KUniqueApplication.start():
        return

    app = SynaptiksApplication()
    app.exec_()
Пример #2
0
 def __init__(self, component_data, parent=None):
     KCModule.__init__(self, component_data, parent)
     KGlobal.locale().insertCatalog('synaptiks')
     # keep a reference to the generated about data to prevent it from being
     # deleted by the GC
     self._about = make_about_data(
         ki18nc('kcmodule description', 'Touchpad configuration'))
     self.setAboutData(self._about)
     self.setQuickHelp(i18nc(
         '@info:tooltip synaptiks kcmodule',
         '<title>Touchpad configuration</title>'
         '<para>This module lets you configure your touchpad.</para>'))