[Kde-bindings] [Bug 258805] New: No access to KNotifyConfigWidget from PyKDE

Thomas Olsen tanghus at gmail.com
Sat Dec 4 14:48:50 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=258805

           Summary: No access to KNotifyConfigWidget from PyKDE
           Product: bindings
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: tanghus at gmail.com


Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

Well subject kinda says it all.

I wrote the following to kde-devel:

I'm trying to add the Notification Config to my Plasma Applets settings.

It's getting embedded just fine if I use:

def createConfigurationInterface(self, dialog):
    # Get a proxy to the KCM
    self.notify_widget = KCModuleProxy("kcmnotify", dialog,
["currency-converter",])
    p = dialog.addPage(self.notify_widget, i18n("Notifications") )
    p.setIcon( KIcon("dialog-information") )

And was told that I should use something like:

KNotifyConfigWidget *notifyWidget = new KNotifyConfigWidget(dialog);

But KNotifyConfigWidget doesn't seem to be available in PyKDE4


Reproducible: Always

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list