RenamerLogic Class Reference

#include <renamer.h>

Inheritance diagram for RenamerLogic:
Inheritance graph
[legend]
Collaboration diagram for RenamerLogic:
Collaboration graph
[legend]

List of all members.

Public Slots

virtual void capitalizeAfterSpace ()
virtual void smallCapsInWords ()
virtual void removeSpaces ()
virtual void removeSpecials ()
virtual void changeSelection ()
virtual void deleteSubString ()
virtual void subStringIsAuthor ()
virtual void removeFirstChar ()
virtual void replaceSubString ()
virtual void realizeSelection ()
virtual void ignoreSelection ()
virtual void beforeMinusIsAuthor ()
virtual void betweenBracesIsTrash ()
virtual void betweenBracesIsMix ()
virtual void substringIsMix ()
virtual void removeFirstSpecials ()
virtual void keySelectionIsAuthor ()
virtual void replaceUnderscores ()
virtual void fixExtention ()

Public Member Functions

 RenamerLogic (QWidget *parent, RenamerChangesFilename *rcf)
virtual ~RenamerLogic ()
void add (const QString name, const QString pos)
void add (Song *song)
void start_dialog ()
void scan (const QString dirname)

Protected Member Functions

virtual void checkfile (const QString fullname, const QString filename)
virtual bool matchextension (const QString filename)

Constructor & Destructor Documentation

RenamerLogic::RenamerLogic ( QWidget *  parent,
RenamerChangesFilename rcf 
)
RenamerLogic::~RenamerLogic (  )  [virtual]

Member Function Documentation

void RenamerLogic::add ( Song song  ) 
void RenamerLogic::add ( const QString  name,
const QString  pos 
)
void RenamerLogic::beforeMinusIsAuthor (  )  [virtual, slot]
void RenamerLogic::betweenBracesIsMix (  )  [virtual, slot]
void RenamerLogic::betweenBracesIsTrash (  )  [virtual, slot]
void RenamerLogic::capitalizeAfterSpace (  )  [virtual, slot]
void RenamerLogic::changeSelection (  )  [virtual, slot]

Referenced by removeSpecials().

void RenamerLogic::checkfile ( const QString  dir,
const QString  filename 
) [protected, virtual]

Called for each file that has a proper extension.

Implements DirectoryScanner.

References add().

void RenamerLogic::deleteSubString (  )  [virtual, slot]
void RenamerLogic::fixExtention (  )  [virtual, slot]
void RenamerLogic::ignoreSelection (  )  [virtual, slot]
void RenamerLogic::keySelectionIsAuthor (  )  [virtual, slot]
bool RenamerLogic::matchextension ( const QString  filename  )  [protected, virtual]

The function used to check whether the extension matches If the extension does not match the file is not sent to checkfile. The standard function will check the required_extension.

Reimplemented from DirectoryScanner.

References goodExtension().

void RenamerLogic::realizeSelection (  )  [virtual, slot]
void RenamerLogic::removeFirstChar (  )  [virtual, slot]
void RenamerLogic::removeFirstSpecials (  )  [virtual, slot]
void RenamerLogic::removeSpaces (  )  [virtual, slot]

References FOREACH.

void RenamerLogic::removeSpecials (  )  [virtual, slot]

References changeSelection(), and FOREACH.

void RenamerLogic::replaceSubString (  )  [virtual, slot]
void RenamerLogic::replaceUnderscores (  )  [virtual, slot]
void RenamerLogic::scan ( const QString  dirname  ) 
void RenamerLogic::smallCapsInWords (  )  [virtual, slot]
void RenamerLogic::start_dialog (  ) 

References show.

Referenced by SongSelectorLogic::startRenamerOnSongs().

void RenamerLogic::subStringIsAuthor (  )  [virtual, slot]
void RenamerLogic::substringIsMix (  )  [virtual, slot]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by  doxygen 1.6.2