kwave  18.07.70
MemoryDialog.h
Go to the documentation of this file.
1 /***************************************************************************
2  MemoryDialog.h - setup dialog of Kwave's memory management
3  -------------------
4  begin : Sun Aug 05 2001
5  copyright : (C) 2001 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 MEMORY_DIALOG_H
19 #define MEMORY_DIALOG_H
20 
21 #include "config.h"
22 #include "ui_MemDlg.h"
23 #include <QDialog>
24 #include <QObject>
25 
26 class QStringList;
27 
28 namespace Kwave
29 {
30  class MemoryDialog :public QDialog, public Ui::MemDlg
31  {
32  Q_OBJECT
33 
34  public:
47  MemoryDialog(QWidget* parent, bool physical_limited,
48  unsigned int physical_limit, bool virtual_enabled,
49  bool virtual_limited, unsigned int virtual_limit,
50  const QString &virtual_dir, unsigned int undo_limit);
51 
53  bool isOK();
54 
56  virtual ~MemoryDialog();
57 
59  void params(QStringList &par);
60 
61  protected slots:
62 
64  void virtualMemoryEnabled(bool enable);
65 
67  void searchSwapDir();
68 
70  void invokeHelp();
71 
72  };
73 }
74 
75 #endif /* MEMORY_DIALOG_H */
76 
77 //***************************************************************************
78 //***************************************************************************
Definition: App.h:33
void params(QStringList &par)
void virtualMemoryEnabled(bool enable)
MemoryDialog(QWidget *parent, bool physical_limited, unsigned int physical_limit, bool virtual_enabled, bool virtual_limited, unsigned int virtual_limit, const QString &virtual_dir, unsigned int undo_limit)