blob: ad3f8172ef5f5ebea6cd99076186b94bc3ba5f33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
/***************************************************************************
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 */
|