src/paginatedvideosource.cpp \
src/compatibility/pathsservice.cpp \
src/exlineedit.cpp \
- src/searchwidget.cpp \
src/channellistview.cpp
RESOURCES += resources.qrc
DESTDIR = build/target/
+++ /dev/null
-#include "searchwidget.h"
-
-/*
-SearchWidget::SearchWidget(QWidget *parent, SearchWidgetInterface *interface) : QWidget(parent), interface(interface) {
- QLayout *l = new QVBoxLayout(this);
- l->setMargin(0);
- QWidget *w = qobject_cast<QWidget*>(interface);
- l->addWidget(w);
-}
-
-QMenu *SearchWidget::menu() const {
- return interface->menu();
-}
-
-void SearchWidget::setMenu(QMenu *menu) {
- interface->setMenu(menu);
-}
-*/
void suggestionAccepted(Suggestion *suggestion);
};
-/*
-class SearchWidget : public QWidget, public SearchWidgetInterface {
-
-public:
- SearchWidget(QWidget *parent = 0);
- QMenu *menu() const;
- void setMenu(QMenu *menu);
- void enableSuggest();
- void preventSuggest();
- void selectAll();
- void setSuggester(Suggester *suggester);
- void setInactiveText(const QString &text);
- void setText(const QString &text);
- AutoComplete *getAutoComplete();
- void emitTextChanged(const QString &text);
- void returnPressed();
- QString text();
-
-private:
- SearchWidgetInterface *interface;
-
-};
-*/
#endif // SEARCHWIDGET