Commit 8018268c authored by Stefan Majewsky's avatar Stefan Majewsky

Simplify TriggerComboBox implementation.

svn path=/trunk/KDE/kdegames/palapeli/; revision=1117714
parent 7e634d76
......@@ -26,13 +26,11 @@ namespace Palapeli
class TriggerComboBox : public KComboBox
{
Q_OBJECT
Q_PROPERTY(QString backgroundKey READ backgroundKey WRITE setBackgroundKey NOTIFY backgroundKeyChanged)
Q_PROPERTY(QByteArray kcfg_property READ kcfgProperty)
Q_PROPERTY(QString backgroundKey READ backgroundKey WRITE setBackgroundKey NOTIFY backgroundKeyChanged USER true)
public:
TriggerComboBox(QWidget* parent = 0);
QString backgroundKey() const;
QByteArray kcfgProperty() const { return "backgroundKey"; }
public Q_SLOTS:
void setBackgroundKey(const QString& backgroundKey);
Q_SIGNALS:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment