// // C++ Interface: translitplugin // // Description: // // // Author: Dominik Seichter , (C) 2005 // // Copyright: See COPYING file that comes with this distribution // // #ifndef TRANSLITPLUGIN_H #define TRANSLITPLUGIN_H #include "plugin.h" #include "pluginloader.h" #include "batchrenamer.h" // QT includes #include #include #include #include #include // KDE includes #include #include #include #include // #include /** @author Dominik Seichter */ class TranslitPlugin : public Plugin { Q_OBJECT public: const QString getName() const; const QString getAccelName() const; const int type() const; const QPixmap getIcon() const; void drawInterface( QWidget* w, QVBoxLayout* l ); void finished(); bool checkError(); void fillStructure(); QString processFile( BatchRenamer*, int, QString token, int ); TranslitPlugin(); protected: QString translit(const QString &); typedef QMap TranslitMap; TranslitMap m_mapFromUTF8; static const QString m_strUtf8[]; static const QString m_strEngl[]; }; #endif