Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
krename/krename/krenamedcop.h

56 wiersze
2.1 KiB

/***************************************************************************
krenamedcop.h - description
-------------------
begin : Sat Dec 27 23:54:28 CET 2003
copyright : (C) 2003 by Dominik Seichter
email : domseichter@web.de
***************************************************************************/
/***************************************************************************
* *
* 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 *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef KRENAMEDCOP_H
#define KRENAMEDCOP_H
#include <dcopobject.h>
#include <tqstringlist.h>
#include <kurl.h>
class KRenameDCOP : virtual public DCOPObject
{
K_DCOP
public:
k_dcop:
virtual void addFileOrDir( const TQString & name ) = 0;
virtual void addDir( const TQString & name, const TQString & filter, bool recursive, bool hidden, bool dirnames ) = 0;
virtual void updatePre() = 0;
virtual void setFileNameTemplate( const TQString & t ) = 0;
virtual const TQString fileNameTemplate() const = 0;
virtual void setExtensionTemplate( const TQString & t ) = 0;
virtual const TQString extensionTemplate() const = 0;
virtual void setUseExtension( bool b ) = 0;
virtual bool useExtension() const = 0;
virtual void setCounterStart( int index ) = 0;
virtual int counterStart() const = 0;
virtual void start() = 0;
virtual TQStringList tokens() const = 0;
virtual TQString parseString( const TQString & token, const TQString & string ) = 0;
};
#endif /* KRENAMEDCOP_H */