summaryrefslogtreecommitdiffstats
path: root/application/widgets/VersionSelectWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'application/widgets/VersionSelectWidget.h')
-rw-r--r--application/widgets/VersionSelectWidget.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/application/widgets/VersionSelectWidget.h b/application/widgets/VersionSelectWidget.h
index 3ea0b4f5..c134887f 100644
--- a/application/widgets/VersionSelectWidget.h
+++ b/application/widgets/VersionSelectWidget.h
@@ -23,16 +23,17 @@ class VersionProxyModel;
class VersionListView;
class QVBoxLayout;
class QProgressBar;
+class Filter;
class VersionSelectWidget: public QWidget
{
Q_OBJECT
public:
- explicit VersionSelectWidget(BaseVersionList *vlist, QWidget *parent = 0);
+ explicit VersionSelectWidget(QWidget *parent = 0);
~VersionSelectWidget();
//! loads the list if needed.
- void initialize();
+ void initialize(BaseVersionList *vlist);
//! Starts a task that loads the list.
void loadList();
@@ -45,6 +46,7 @@ public:
void setCurrentVersion(const QString & version);
void setFuzzyFilter(BaseVersionList::ModelRoles role, QString filter);
void setExactFilter(BaseVersionList::ModelRoles role, QString filter);
+ void setFilter(BaseVersionList::ModelRoles role, Filter *filter);
void setEmptyString(QString emptyString);
void setEmptyErrorString(QString emptyErrorString);
void setResizeOn(int column);