X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Feffectslistwidget.h;h=5df95d1a5de77c8c465e1c3eb660644c2cda76ee;hb=c3302003093710ee247ad84c0fe2ef3c579d417f;hp=3828884671f23d653c0493bcf9adaac9f09ce183;hpb=2a4060e2edb252fd65c5fafc48643cfb3609255e;p=kdenlive diff --git a/src/effectslistwidget.h b/src/effectslistwidget.h index 38288846..5df95d1a 100644 --- a/src/effectslistwidget.h +++ b/src/effectslistwidget.h @@ -37,7 +37,7 @@ public: explicit EffectsListWidget(QMenu *contextMenu, QWidget *parent = 0); virtual ~EffectsListWidget(); const QDomElement currentEffect() const; - QString currentInfo(); + QString currentInfo() const; const QDomElement itemEffect(QTreeWidgetItem *item) const; void initList(QMenu *effectsMenu, KActionCategory *effectActions); @@ -50,7 +50,7 @@ protected: private: QMenu *m_menu; /** @brief Returns the folder item whose name == @param name. */ - QTreeWidgetItem *findFolder(const QString name); + QTreeWidgetItem *findFolder(const QString &name); /** @brief Loads the effects from the given effectlist as item of this widget. * @param effectlist effectlist containing the effects that should be loaded @@ -61,7 +61,7 @@ private: * @param current name of selected effect before reload; if an effect name matches this one it will become selected * @param found will be set to true if an effect name matches current */ - void loadEffects(const EffectsList *effectlist, KIcon icon, QTreeWidgetItem *defaultFolder, const QList *folders, const QString type, const QString current, bool *found); + void loadEffects(const EffectsList *effectlist, KIcon icon, QTreeWidgetItem *defaultFolder, const QList *folders, int type, const QString ¤t, bool *found); private slots: void slotExpandItem(const QModelIndex & index);