MythTV
master
|
#include <image.h>
Public Member Functions | |
Q_INVOKABLE | Image (QObject *=nullptr) |
QString | GetImageInfo (int id, const QString &tag) override |
Returns the value of the specified exif tag from the image file. More... | |
DTC::ImageMetadataInfoList * | GetImageInfoList (int id) override |
Returns all values from all available exif tags. More... | |
bool | RemoveImage (int id) override |
Deletes an image file or dir subtree from filesystem and database. More... | |
bool | RenameImage (int id, const QString &newName) override |
Renames the file to the new name. More... | |
bool | StartSync (void) override |
Starts the synchronization of the images with the database. More... | |
bool | StopSync (void) override |
Stops the image synchronization if its running. More... | |
DTC::ImageSyncInfo * | GetSyncStatus (void) override |
Returns a list with information if the synchronization is currently running, the already synchronized images and the total amount of images that shall be synchronized. More... | |
bool | CreateThumbnail (int id) override |
Request creation of a thumbnail. More... | |
![]() | |
ImageServices (QObject *parent=nullptr) | |
![]() | |
Service (QObject *parent=nullptr) | |
virtual QVariant | ConvertToVariant (int nType, void *pValue) |
virtual void * | ConvertToParameterPtr (int nTypeId, const QString &sParamType, void *pParam, const QString &sValue) |
Additional Inherited Members | |
![]() | |
![]() | |
static bool | ToBool (const QString &sVal) |
![]() | |
QList< QString > | m_parsedParams |
|
inlineexplicit |
|
overridevirtual |
Returns the value of the specified exif tag from the image file.
If the filename or exif tag do not exist or the tag has no contents, an empty value is returned.
id | The database id of the file |
tag | The exif tag |
Implements ImageServices.
Definition at line 40 of file image.cpp.
Referenced by ScriptableImage::GetImageInfo().
|
overridevirtual |
Returns all values from all available exif tags.
id | The database id of the file |
Implements ImageServices.
Definition at line 75 of file image.cpp.
Referenced by ScriptableImage::GetImageInfoList().
|
overridevirtual |
Deletes an image file or dir subtree from filesystem and database.
id | Image |
Implements ImageServices.
Definition at line 134 of file image.cpp.
Referenced by ScriptableImage::RemoveImage().
|
overridevirtual |
Renames the file to the new name.
id | The database id of the file |
newName | The new name of the file (only the name, no path) |
Implements ImageServices.
Definition at line 148 of file image.cpp.
Referenced by ScriptableImage::RenameImage().
|
overridevirtual |
Starts the synchronization of the images with the database.
Implements ImageServices.
Definition at line 160 of file image.cpp.
Referenced by ScriptableImage::StartSync().
|
overridevirtual |
Stops the image synchronization if its running.
Implements ImageServices.
Definition at line 172 of file image.cpp.
Referenced by ScriptableImage::StopSync().
|
overridevirtual |
Returns a list with information if the synchronization is currently running, the already synchronized images and the total amount of images that shall be synchronized.
Implements ImageServices.
Definition at line 186 of file image.cpp.
Referenced by ScriptableImage::GetSyncStatus().
|
overridevirtual |
Request creation of a thumbnail.
id | Image |
Implements ImageServices.
Definition at line 219 of file image.cpp.
Referenced by ScriptableImage::CreateThumbnail().