kwave  18.07.70
StringEnterDialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  StringEnterDialog.h - dialog for entering a string command
3  -------------------
4  begin : Sat Mar 14 2015
5  copyright : (C) 2015 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 STRING_ENTER_DIALOG_H
19 #define STRING_ENTER_DIALOG_H
20 
21 #include "config.h"
22 
23 #include <QDialog>
24 #include <QString>
25 
26 #include "ui_StringEnterDlg.h"
27 
28 class QWidget;
29 
30 namespace Kwave
31 {
32  class StringEnterDialog: public QDialog,
33  public Ui::StringEnterDlg
34  {
35  Q_OBJECT
36  public:
37 
43  explicit StringEnterDialog(QWidget *parent, const QString &preset);
44 
46  virtual ~StringEnterDialog() Q_DECL_OVERRIDE;
47 
49  QString command();
50 
51  private slots:
52 
54  virtual void accept() Q_DECL_OVERRIDE;
55 
57  void invokeHelp();
58 
59  private:
60 
62  QString m_command;
63 
64  };
65 }
66 
67 #endif /* STRING_ENTER_DIALOG_H */
68 
69 //***************************************************************************
70 //***************************************************************************
StringEnterDialog(QWidget *parent, const QString &preset)
Definition: App.h:33
virtual ~StringEnterDialog() Q_DECL_OVERRIDE
virtual void accept() Q_DECL_OVERRIDE