MythTV  master
searcheditor.cpp
Go to the documentation of this file.
1 #include "searcheditor.h"
2 #include <netutils.h>
3 
5 {
6  return insertSearchInDB(script, VIDEO_FILE);
7 }
8 
10 {
11  return removeSearchFromDB(script);
12 }
13 
15 {
17 }
18 
19 bool SearchEditor::Matches(bool search, bool /*tree*/)
20 {
21  return search;
22 }
searcheditor.h
findSearchGrabberInDB
bool findSearchGrabberInDB(const QString &commandline, ArticleType type)
Definition: netutils.cpp:31
SearchEditor::RemoveFromDB
bool RemoveFromDB(GrabberScript *script) override
Definition: searcheditor.cpp:9
SearchEditor::FindGrabberInDB
bool FindGrabberInDB(const QString &filename) override
Definition: searcheditor.cpp:14
netutils.h
insertSearchInDB
bool insertSearchInDB(GrabberScript *script, ArticleType type)
Definition: netutils.cpp:219
filename
QString filename
Definition: mythplugins/mytharchive/mytharchivehelper/main.cpp:634
GrabberScript
Definition: netgrabbermanager.h:17
VIDEO_FILE
@ VIDEO_FILE
Definition: rssparse.h:21
SearchEditor::Matches
bool Matches(bool search, bool tree) override
Definition: searcheditor.cpp:19
SearchEditor::InsertInDB
bool InsertInDB(GrabberScript *script) override
Definition: searcheditor.cpp:4
removeSearchFromDB
bool removeSearchFromDB(GrabberScript *script)
Definition: netutils.cpp:283