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

Public Types

enum  ParserType { DefaultParser = 0 , ImportParser }
 
enum  SortAction { SortName = 0 , SortDate , SortSize , SortCustom }
 
enum  SortDirection { SortAscending = 0 , SortDescending }
 

Signals

void signalSortingChanged (QList< QUrl >)
 

Public Member Functions

void addFiles (const QList< ParseSettings > &files)
 
 AdvancedRenameManager ()
 
 AdvancedRenameManager (const QList< ParseSettings > &files)
 
QStringList fileList () const
 
ParsergetParser () const
 
int indexOfFile (const QString &filename)
 
int indexOfFileGroup (const QString &filename)
 
int indexOfFolder (const QString &filename)
 
QMap< QString, QString > newFileList (bool checkFileSystem=false) const
 
QString newName (const QString &filename) const
 
void parseFiles ()
 
void parseFiles (const ParseSettings &settings)
 
void parseFiles (const QString &parseString)
 
void parseFiles (const QString &parseString, const ParseSettings &settings)
 
void reset ()
 
void setParserType (ParserType type)
 
void setSortAction (SortAction action)
 
void setSortDirection (SortDirection direction)
 
void setStartIndex (int index)
 
void setWidget (AdvancedRenameWidget *widget)
 
SortAction sortAction () const
 
SortDirection sortDirection () const
 
 ~AdvancedRenameManager () override
 

Member Enumeration Documentation

◆ ParserType

Enumerator
DefaultParser 
ImportParser 

◆ SortAction

Enumerator
SortName 
SortDate 
SortSize 
SortCustom 

◆ SortDirection

Enumerator
SortAscending 
SortDescending 

Constructor & Destructor Documentation

◆ AdvancedRenameManager() [1/2]

Digikam::AdvancedRenameManager::AdvancedRenameManager ( )

References DefaultParser, and setParserType().

◆ AdvancedRenameManager() [2/2]

Digikam::AdvancedRenameManager::AdvancedRenameManager ( const QList< ParseSettings > &  files)
explicit

◆ ~AdvancedRenameManager()

Digikam::AdvancedRenameManager::~AdvancedRenameManager ( )
override

Member Function Documentation

◆ addFiles()

void Digikam::AdvancedRenameManager::addFiles ( const QList< ParseSettings > &  files)

◆ fileList()

QStringList Digikam::AdvancedRenameManager::fileList ( ) const

◆ getParser()

Parser * Digikam::AdvancedRenameManager::getParser ( ) const

◆ indexOfFile()

int Digikam::AdvancedRenameManager::indexOfFile ( const QString &  filename)

◆ indexOfFileGroup()

int Digikam::AdvancedRenameManager::indexOfFileGroup ( const QString &  filename)

◆ indexOfFolder()

int Digikam::AdvancedRenameManager::indexOfFolder ( const QString &  filename)

◆ newFileList()

QMap< QString, QString > Digikam::AdvancedRenameManager::newFileList ( bool  checkFileSystem = false) const

References newName().

◆ newName()

QString Digikam::AdvancedRenameManager::newName ( const QString &  filename) const

Referenced by newFileList().

◆ parseFiles() [1/4]

void Digikam::AdvancedRenameManager::parseFiles ( )

Referenced by parseFiles().

◆ parseFiles() [2/4]

void Digikam::AdvancedRenameManager::parseFiles ( const ParseSettings settings)

◆ parseFiles() [3/4]

◆ parseFiles() [4/4]

void Digikam::AdvancedRenameManager::parseFiles ( const QString &  parseString,
const ParseSettings settings 
)

◆ reset()

void Digikam::AdvancedRenameManager::reset ( )

◆ setParserType()

void Digikam::AdvancedRenameManager::setParserType ( ParserType  type)

◆ setSortAction()

void Digikam::AdvancedRenameManager::setSortAction ( SortAction  action)

◆ setSortDirection()

void Digikam::AdvancedRenameManager::setSortDirection ( SortDirection  direction)

◆ setStartIndex()

void Digikam::AdvancedRenameManager::setStartIndex ( int  index)

◆ setWidget()

void Digikam::AdvancedRenameManager::setWidget ( AdvancedRenameWidget widget)

References setParserType().

◆ signalSortingChanged

void Digikam::AdvancedRenameManager::signalSortingChanged ( QList< QUrl >  )
signal

Referenced by setSortAction(), and setSortDirection().

◆ sortAction()

AdvancedRenameManager::SortAction Digikam::AdvancedRenameManager::sortAction ( ) const

◆ sortDirection()

AdvancedRenameManager::SortDirection Digikam::AdvancedRenameManager::sortDirection ( ) const

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