kwave  18.07.70
ConfirmCancelProxy.h
Go to the documentation of this file.
1 /*************************************************************************
2  ConfirmCancelProxy.h - ask for confirm before cancelling an action
3  -------------------
4  begin : Fri Apr 26 2002
5  copyright : (C) 2002 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef CONFIRM_CANCEL_PROXY_H
19 #define CONFIRM_CANCEL_PROXY_H
20 
21 #include "config.h"
22 
23 #include <QtGlobal>
24 #include <QObject>
25 
26 class QString;
27 class QWidget;
28 
29 namespace Kwave
30 {
31 
32  class Q_DECL_EXPORT ConfirmCancelProxy: public QObject
33  {
34  Q_OBJECT
35  public:
36 
50  ConfirmCancelProxy(QWidget *widget,
51  QObject *sender, const char *signal,
52  QObject *receiver, const char *slot);
53 
55  virtual ~ConfirmCancelProxy();
56 
57  public slots:
58 
60  void cancel();
61 
62  signals:
63 
65  void canceled();
66 
67  private:
68 
70  QWidget *m_widget;
71 
72  };
73 }
74 
75 #endif /* CONFIRM_CANCEL_PROXY_H */
76 
77 //***************************************************************************
78 //***************************************************************************
Definition: App.h:33