blob: 0282245f7a97b3d8e41062d5e1e79338d4b02e9e (
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
/***************************************************************************
replacedialog.h - description
-------------------
begin : Sat Aug 18 2001
copyright : (C) 2001 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 REPLACEDIALOG_H
#define REPLACEDIALOG_H
// QT includes
#include <kdialogbase.h>
#include <tqvaluelist.h>
// Own includes
#include "batchrenamer.h"
class TQCheckBox;
class TQGridLayout;
class TQGridLayout;
class TQLabel;
class TQLineEdit;
class KPushButton;
class TQListViewItem;
class KListView;
class ReplaceDialog : public KDialogBase
{
Q_OBJECT
public:
ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent = 0 );
~ReplaceDialog();
TQValueList<replacestrings> getList();
private slots:
void add();
void moveFocus();
void remove();
void invokeRegEdit();
void enableControls();
void slotEdit();
private:
void reset();
TQLabel* TextLabel1;
TQLineEdit* text2;
TQLabel* TextLabel2;
TQLineEdit* text1;
KListView* list;
TQCheckBox* checkReg;
KPushButton* buttonAdd;
KPushButton* buttonRemove;
KPushButton* buttonEdit;
KPushButton* buttonRegEdit;
TQString encode( TQString s );
TQString decode( TQString s );
protected:
void resizeEvent( TQResizeEvent* e );
TQGridLayout* ReplaceDialogLayout;
};
#endif // REPLACEDIALOG_H
|