diff options
author | natural <natural> | 2007-01-07 06:00:34 +0000 |
---|---|---|
committer | natural <natural> | 2007-01-07 06:00:34 +0000 |
commit | e89937e2cf235c1560bdb3a7add8b3701bd4bfd4 (patch) | |
tree | 5b8c46e976b0296719b6134361664791e34ed476 /kberylsettings/lib.py | |
parent | 3348c3e49865c5e6a32073e85a6d7a1574cac244 (diff) | |
download | kberylsettings-e89937e2cf235c1560bdb3a7add8b3701bd4bfd4.tar.gz kberylsettings-e89937e2cf235c1560bdb3a7add8b3701bd4bfd4.tar.bz2 |
Accounted for changes to berylsettings python extension in r2434.
Diffstat (limited to 'kberylsettings/lib.py')
-rw-r--r-- | kberylsettings/lib.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/kberylsettings/lib.py b/kberylsettings/lib.py index 13b50f3..995917a 100644 --- a/kberylsettings/lib.py +++ b/kberylsettings/lib.py @@ -30,6 +30,8 @@ class Signals: clickedId = SIGNAL('clicked(int)') colorChanged = SIGNAL('changed(const QColor &)') doubleValueChanged = SIGNAL('valueChanged(double)') + fileChanged = SIGNAL('dirty(const QString&)') + fileCreated = SIGNAL('created(const QString&)') iconSizeChanged = PYSIGNAL('iconSizeChanged') intValueChanged = SIGNAL('valueChanged(int)') itemClicked = SIGNAL('clicked(QListViewItem *)') @@ -119,8 +121,11 @@ def action(text, iconset, cut, slot, collection, name, cut = KShortcut() else: cut = KShortcut(cut) - iconset = iconSet(iconset) - action = KAction(text, iconset, cut, slot, collection, name) + if iconset: + iconset = iconSet(iconset) + action = KAction(text, iconset, cut, slot, collection, name) + else: + action = KAction(text, cut, slot, collection, name) if tooltip: action.setToolTip(tooltip) if pluggable: |