1 | /*************************************************************************** |
2 | kfilereplace.h - KFileReplace header |
3 | ------------------- |
4 | begin : Thu Sep 16 14:14:09 2004 |
5 | copyright : (C) 2004 by Andras Mantia <amantia@kde.org> |
6 | ***************************************************************************/ |
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 KFILEREPLACE_H |
17 | #define KFILEREPLACE_H |
18 | |
19 | #include <kparts/mainwindow.h> |
20 | |
21 | /** |
22 | Shell application for the KFileReplace part. |
23 | |
24 | @author Andras Mantia |
25 | */ |
26 | class KFileReplace : public KParts::MainWindow |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | KFileReplace(); |
31 | ~KFileReplace(); |
32 | void openURL(const KUrl &url); |
33 | |
34 | private slots: |
35 | void slotConfigureKeys(); |
36 | void slotConfigureToolbars(); |
37 | void applyNewToolbarConfig(); |
38 | |
39 | private: |
40 | void removeDuplicatedActions(); |
41 | |
42 | KParts::ReadOnlyPart *m_part; |
43 | }; |
44 | |
45 | #endif |
46 | |