KRename – powerful batch renamer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

krenamedcop.h 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /***************************************************************************
  2. krenamedcop.h - description
  3. -------------------
  4. begin : Sat Dec 27 23:54:28 CET 2003
  5. copyright : (C) 2003 by Dominik Seichter
  6. email : domseichter@web.de
  7. ***************************************************************************/
  8. /***************************************************************************
  9. * *
  10. * This program is free software; you can redistribute it and/or modify *
  11. * it under the terms of the GNU General Public License as published by *
  12. * the Free Software Foundation; either version 2 of the License, or *
  13. * (at your option) any later version. *
  14. * *
  15. ***************************************************************************/
  16. #ifndef KRENAMEDCOP_H
  17. #define KRENAMEDCOP_H
  18. #include <dcopobject.h>
  19. #include <tqstringlist.h>
  20. #include <kurl.h>
  21. class KRenameDCOP : virtual public DCOPObject
  22. {
  23. K_DCOP
  24. public:
  25. k_dcop:
  26. virtual void addFileOrDir( const TQString & name ) = 0;
  27. virtual void addDir( const TQString & name, const TQString & filter, bool recursive, bool hidden, bool dirnames ) = 0;
  28. virtual void updatePre() = 0;
  29. virtual void setFileNameTemplate( const TQString & t ) = 0;
  30. virtual const TQString fileNameTemplate() const = 0;
  31. virtual void setExtensionTemplate( const TQString & t ) = 0;
  32. virtual const TQString extensionTemplate() const = 0;
  33. virtual void setUseExtension( bool b ) = 0;
  34. virtual bool useExtension() const = 0;
  35. virtual void setCounterStart( int index ) = 0;
  36. virtual int counterStart() const = 0;
  37. virtual void start() = 0;
  38. virtual TQStringList tokens() const = 0;
  39. virtual TQString parseString( const TQString & token, const TQString & string ) = 0;
  40. };
  41. #endif /* KRENAMEDCOP_H */