digiKam
Digikam::DBinaryIface Class Reference
+ Inheritance diagram for Digikam::DBinaryIface:

Public Slots

virtual void slotAddPossibleSearchDirectory (const QString &dir)
 
virtual void slotAddSearchDirectory (const QString &dir)
 
virtual void slotNavigateAndCheck ()
 

Signals

void signalBinaryValid ()
 
void signalSearchDirectoryAdded (const QString &dir)
 

Public Member Functions

virtual QString baseName () const
 
virtual bool checkDir ()
 
virtual bool checkDirForPath (const QString &path)
 
 DBinaryIface (const QString &binaryName, const QString &minimalVersion, const QString &header, const int headerLine, const QString &projectName, const QString &url, const QString &pluginName, const QStringList &args=QStringList(), const QString &desc=QString())
 
 DBinaryIface (const QString &binaryName, const QString &projectName, const QString &url, const QString &pluginName, const QStringList &args=QStringList(), const QString &desc=QString())
 
const QString & description () const
 
bool developmentVersion () const
 
virtual QString directory () const
 
bool isFound () const
 
bool isValid () const
 
virtual QString minimalVersion () const
 
virtual QString path () const
 
virtual QString path (const QString &dir) const
 
virtual QString projectName () const
 
virtual bool recheckDirectories ()
 
virtual void setup (const QString &prev=QString())
 
virtual QUrl url () const
 
const QString & version () const
 
bool versionIsRight () const
 
bool versionIsRight (const float) const
 
 ~DBinaryIface () override
 

Static Public Member Functions

static QString goodBaseName (const QString &b)
 

Protected Member Functions

QString findHeader (const QStringList &output, const QString &header) const
 
virtual bool parseHeader (const QString &output)
 
virtual QString readConfig ()
 
void setVersion (QString &version)
 
virtual void writeConfig ()
 

Protected Attributes

const QStringList m_binaryArguments
 
const QString m_binaryBaseName
 
QLabel * m_binaryLabel
 
const bool m_checkVersion
 
const QString m_configGroup
 
QString m_description
 
bool m_developmentVersion
 
QLabel * m_downloadButton
 
const int m_headerLine
 
const QString m_headerStarts
 
bool m_isFound
 
QLineEdit * m_lineEdit
 
const QString m_minimalVersion
 
QPushButton * m_pathButton
 
QString m_pathDir
 
QFrame * m_pathWidget
 
const QString m_projectName
 
QSet< QString > m_searchPaths
 
QLabel * m_statusIcon
 
const QUrl m_url
 
QString m_version
 
QLabel * m_versionLabel
 

Constructor & Destructor Documentation

◆ DBinaryIface() [1/2]

Digikam::DBinaryIface::DBinaryIface ( const QString &  binaryName,
const QString &  projectName,
const QString &  url,
const QString &  pluginName,
const QStringList &  args = QStringList(),
const QString &  desc = QString() 
)

◆ DBinaryIface() [2/2]

Digikam::DBinaryIface::DBinaryIface ( const QString &  binaryName,
const QString &  minimalVersion,
const QString &  header,
const int  headerLine,
const QString &  projectName,
const QString &  url,
const QString &  pluginName,
const QStringList &  args = QStringList(),
const QString &  desc = QString() 
)

◆ ~DBinaryIface()

Digikam::DBinaryIface::~DBinaryIface ( )
override

Member Function Documentation

◆ baseName()

virtual QString Digikam::DBinaryIface::baseName ( ) const
inlinevirtual

◆ checkDir()

virtual bool Digikam::DBinaryIface::checkDir ( )
inlinevirtual

◆ checkDirForPath()

◆ description()

const QString& Digikam::DBinaryIface::description ( ) const
inline

◆ developmentVersion()

bool Digikam::DBinaryIface::developmentVersion ( ) const
inline

◆ directory()

virtual QString Digikam::DBinaryIface::directory ( ) const
inlinevirtual

◆ findHeader()

QString Digikam::DBinaryIface::findHeader ( const QStringList &  output,
const QString &  header 
) const
protected

◆ goodBaseName()

QString Digikam::DBinaryIface::goodBaseName ( const QString &  b)
static

◆ isFound()

bool Digikam::DBinaryIface::isFound ( ) const
inline

Referenced by versionIsRight().

◆ isValid()

bool Digikam::DBinaryIface::isValid ( ) const
inline

◆ minimalVersion()

virtual QString Digikam::DBinaryIface::minimalVersion ( ) const
inlinevirtual

◆ parseHeader()

bool Digikam::DBinaryIface::parseHeader ( const QString &  output)
protectedvirtual

◆ path() [1/2]

◆ path() [2/2]

QString Digikam::DBinaryIface::path ( const QString &  dir) const
virtual

◆ projectName()

virtual QString Digikam::DBinaryIface::projectName ( ) const
inlinevirtual

◆ readConfig()

QString Digikam::DBinaryIface::readConfig ( )
protectedvirtual

References m_binaryBaseName, and m_configGroup.

Referenced by setup().

◆ recheckDirectories()

bool Digikam::DBinaryIface::recheckDirectories ( )
virtual

◆ setup()

void Digikam::DBinaryIface::setup ( const QString &  prev = QString())
virtual

References checkDirForPath(), isValid(), m_searchPaths, and readConfig().

Referenced by DigikamGenericExpoBlendingPlugin::AlignBinary::AlignBinary(), DigikamGenericPanoramaPlugin::AutoOptimiserBinary::AutoOptimiserBinary(), DigikamGenericSendByMailPlugin::BalsaBinary::BalsaBinary(), DigikamGenericSendByMailPlugin::ClawsMailBinary::ClawsMailBinary(), DigikamGenericPanoramaPlugin::CPCleanBinary::CPCleanBinary(), DigikamGenericPanoramaPlugin::EnblendBinary::EnblendBinary(), DigikamGenericSendByMailPlugin::EvolutionBinary::EvolutionBinary(), Digikam::ExifToolBinary::ExifToolBinary(), DigikamGenericPrintCreatorPlugin::GimpBinary::GimpBinary(), DigikamGenericPanoramaPlugin::HuginExecutorBinary::HuginExecutorBinary(), DigikamGenericJAlbumPlugin::JalbumJar::JalbumJar(), DigikamGenericJAlbumPlugin::JalbumJava::JalbumJava(), DigikamGenericSendByMailPlugin::KmailBinary::KmailBinary(), DigikamGenericPanoramaPlugin::MakeBinary::MakeBinary(), Digikam::MysqlAdminBinary::MysqlAdminBinary(), Digikam::MysqlInitBinary::MysqlInitBinary(), Digikam::MysqlServBinary::MysqlServBinary(), DigikamGenericSendByMailPlugin::NetscapeBinary::NetscapeBinary(), DigikamGenericPanoramaPlugin::NonaBinary::NonaBinary(), Digikam::OutlookBinary::OutlookBinary(), DigikamGenericPanoramaPlugin::PanoModifyBinary::PanoModifyBinary(), DigikamGenericPanoramaPlugin::Pto2MkBinary::Pto2MkBinary(), Digikam::DatabaseSettingsWidget::setParametersFromSettings(), DigikamGenericSendByMailPlugin::SylpheedBinary::SylpheedBinary(), and DigikamGenericSendByMailPlugin::ThunderbirdBinary::ThunderbirdBinary().

◆ setVersion()

void Digikam::DBinaryIface::setVersion ( QString &  version)
protected

◆ signalBinaryValid

void Digikam::DBinaryIface::signalBinaryValid ( )
signal

◆ signalSearchDirectoryAdded

void Digikam::DBinaryIface::signalSearchDirectoryAdded ( const QString &  dir)
signal

Referenced by slotNavigateAndCheck().

◆ slotAddPossibleSearchDirectory

void Digikam::DBinaryIface::slotAddPossibleSearchDirectory ( const QString &  dir)
virtualslot

◆ slotAddSearchDirectory

void Digikam::DBinaryIface::slotAddSearchDirectory ( const QString &  dir)
virtualslot

References checkDirForPath(), and m_searchPaths.

◆ slotNavigateAndCheck

void Digikam::DBinaryIface::slotNavigateAndCheck ( )
virtualslot

◆ url()

virtual QUrl Digikam::DBinaryIface::url ( ) const
inlinevirtual

◆ version()

◆ versionIsRight() [1/2]

bool Digikam::DBinaryIface::versionIsRight ( ) const

◆ versionIsRight() [2/2]

bool Digikam::DBinaryIface::versionIsRight ( const float  customVersion) const

References isFound(), m_checkVersion, and version().

◆ writeConfig()

void Digikam::DBinaryIface::writeConfig ( )
protectedvirtual

Member Data Documentation

◆ m_binaryArguments

const QStringList Digikam::DBinaryIface::m_binaryArguments
protected

Referenced by checkDirForPath().

◆ m_binaryBaseName

const QString Digikam::DBinaryIface::m_binaryBaseName
protected

◆ m_binaryLabel

QLabel* Digikam::DBinaryIface::m_binaryLabel
protected

◆ m_checkVersion

const bool Digikam::DBinaryIface::m_checkVersion
protected

Referenced by checkDirForPath(), and versionIsRight().

◆ m_configGroup

const QString Digikam::DBinaryIface::m_configGroup
protected

Referenced by readConfig(), and writeConfig().

◆ m_description

QString Digikam::DBinaryIface::m_description
protected

◆ m_developmentVersion

bool Digikam::DBinaryIface::m_developmentVersion
protected

◆ m_downloadButton

QLabel* Digikam::DBinaryIface::m_downloadButton
protected

◆ m_headerLine

const int Digikam::DBinaryIface::m_headerLine
protected

◆ m_headerStarts

const QString Digikam::DBinaryIface::m_headerStarts
protected

◆ m_isFound

bool Digikam::DBinaryIface::m_isFound
protected

◆ m_lineEdit

QLineEdit* Digikam::DBinaryIface::m_lineEdit
protected

◆ m_minimalVersion

const QString Digikam::DBinaryIface::m_minimalVersion
protected

◆ m_pathButton

QPushButton* Digikam::DBinaryIface::m_pathButton
protected

◆ m_pathDir

QString Digikam::DBinaryIface::m_pathDir
protected

◆ m_pathWidget

QFrame* Digikam::DBinaryIface::m_pathWidget
protected

◆ m_projectName

const QString Digikam::DBinaryIface::m_projectName
protected

◆ m_searchPaths

QSet<QString> Digikam::DBinaryIface::m_searchPaths
protected

◆ m_statusIcon

QLabel* Digikam::DBinaryIface::m_statusIcon
protected

◆ m_url

const QUrl Digikam::DBinaryIface::m_url
protected

◆ m_version

QString Digikam::DBinaryIface::m_version
protected

◆ m_versionLabel

QLabel* Digikam::DBinaryIface::m_versionLabel
protected

The documentation for this class was generated from the following files: