summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplace.h
blob: 2d65d0eddad2e6526c1968dcf94d8aa20bd56398 (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
/***************************************************************************
               kfilereplace.h  -  KFileReplace header
                             -------------------
    begin                : Thu Sep 16 14:14:09 2004
    copyright            : (C) 2004 by Andras Mantia <amantia@kde.org>
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 KFILEREPLACE_H
#define KFILEREPLACE_H

#include <kparts/mainwindow.h>

/**
Shell application for the KFileReplace part.

@author Andras Mantia
*/
class KFileReplace : public KParts::MainWindow
{
  Q_OBJECT
public:
    KFileReplace();
    ~KFileReplace();
    void openURL(const KURL &url);

private slots:
   void slotConfigureKeys();
   void slotConfigureToolbars();
   void applyNewToolbarConfig();

private:
   void removeDuplicatedActions();

   KParts::ReadOnlyPart *m_part;
};

#endif