MythTV master
treeeditor.cpp
Go to the documentation of this file.
2
3#include "treeeditor.h"
4
6{
7 return insertTreeInDB(script, VIDEO_FILE);
8}
9
11{
12 bool removed = removeTreeFromDB(script);
13
14 if (removed && !isTreeInUse(script->GetCommandline()))
16
17 return removed;
18}
19
21{
23}
24
25bool TreeEditor::Matches(bool /*search*/, bool tree)
26{
27 return tree;
28}
const QString & GetCommandline() const
bool FindGrabberInDB(const QString &filename) override
Definition: treeeditor.cpp:20
bool InsertInDB(GrabberScript *script) override
Definition: treeeditor.cpp:5
bool Matches(bool search, bool tree) override
Definition: treeeditor.cpp:25
bool RemoveFromDB(GrabberScript *script) override
Definition: treeeditor.cpp:10
bool findTreeGrabberInDB(const QString &commandline, ArticleType type)
Definition: netutils.cpp:11
bool removeTreeFromDB(GrabberScript *script)
Definition: netutils.cpp:276
bool clearTreeItems(const QString &feedcommand)
Definition: netutils.cpp:360
bool isTreeInUse(const QString &feedcommand)
Definition: netutils.cpp:379
bool insertTreeInDB(GrabberScript *script, ArticleType type)
Definition: netutils.cpp:230
@ VIDEO_FILE
Definition: rssparse.h:21