// // 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" // TQt includes #include #include #include #include #include // TDE includes #include #include #include #include // #include /** @author Dominik Seichter */ class TranslitPlugin : public Plugin { TQ_OBJECT public: const TQString getName() const; const TQString getAccelName() const; const int type() const; const TQPixmap getIcon() const; void drawInterface( TQWidget* w, TQVBoxLayout* l ); void finished(); bool checkError(); void fillStructure(); TQString processFile( BatchRenamer*, int, TQString token, int ); TranslitPlugin(); protected: TQString translit(const TQString &); typedef TQMap TranslitMap; TranslitMap m_mapFromUTF8; static const TQString m_strUtf8[]; static const TQString m_strEngl[]; }; #endif