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