"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/podofoplugin.h" between
krename-4.0.9.tar.gz and krename-4.90.90.tar.gz

About: KRename is a batch file-renamer (KDE).

podofoplugin.h  (krename-4.0.9):podofoplugin.h  (krename-4.90.90)
skipping to change at line 18 skipping to change at line 18
/*************************************************************************** /***************************************************************************
* * * *
* This program is free software; you can redistribute it and/or modify * * This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef _PODOFO_PLUGIN_H_ #ifndef PODOFO_PLUGIN_H
#define _PODOFO_PLUGIN_H_ #define PODOFO_PLUGIN_H
#include "fileplugin.h" #include "fileplugin.h"
#include <QMap> #include <QMap>
class PodofoPlugin : public FilePlugin { class PodofoPlugin : public FilePlugin
public: {
PodofoPlugin( PluginLoader* loader ); public:
explicit PodofoPlugin(PluginLoader *loader);
/** /**
* This function is the core of your plugin. * This function is the core of your plugin.
* *
* It does the actual processing of a file, filename or token depending of t he type * It does the actual processing of a file, filename or token depending of t he type
* of your plugin. * of your plugin.
* *
* \see type() * \see type()
* *
* @param b the parent BatchRenamer instance calling this plugin * @param b the parent BatchRenamer instance calling this plugin
skipping to change at line 56 skipping to change at line 57
* in brackets. If your plugin supports the token [ex ample], * in brackets. If your plugin supports the token [ex ample],
* KRename will pass the strign "example" to your met hod. * KRename will pass the strign "example" to your met hod.
* @param eCurrentType the current type of plugin that is requested (for plu gins that support more than one type) * @param eCurrentType the current type of plugin that is requested (for plu gins that support more than one type)
* *
* @returns the result of the function, depending on type(). * @returns the result of the function, depending on type().
* @returns QString::null if this plugin has nothing to do. * @returns QString::null if this plugin has nothing to do.
* @returns A new filename if type is ePluginType_Filename * @returns A new filename if type is ePluginType_Filename
* @returns the value of the token if type is ePluginType_Token * @returns the value of the token if type is ePluginType_Token
* @returns an error message or QString::null if type is ePluginType_File * @returns an error message or QString::null if type is ePluginType_File
*/ */
virtual QString processFile( BatchRenamer* b, int index, const QString & fil enameOrToken, EPluginType eCurrentType ); virtual QString processFile(BatchRenamer *b, int index, const QString &filen ameOrToken, EPluginType eCurrentType);
/** Returns help descriptions for the supported tokens /** Returns help descriptions for the supported tokens
* *
* The returned stringlist contains strings that are the tokens * The returned stringlist contains strings that are the tokens
* and the description separated by ;; * and the description separated by ;;
* *
* @returns a stringlist containing help on the supported tokens * @returns a stringlist containing help on the supported tokens
*/ */
inline virtual const QStringList & help() const; inline virtual const QStringList &help() const;
private: private:
QStringList m_help; QStringList m_help;
QMap<QString,QString> m_mapRealKeys; QMap<QString, QString> m_mapRealKeys;
}; };
inline const QStringList & PodofoPlugin::help() const inline const QStringList &PodofoPlugin::help() const
{ {
return m_help; return m_help;
} }
#endif // _PODOFO_PLUGIN_H_ #endif // PODOFO_PLUGIN_H
 End of changes. 8 change blocks. 
10 lines changed or deleted 11 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)