kwave
18.07.70
|
#include <MemoryDialog.h>
Public Member Functions | |
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) | |
bool | isOK () |
virtual | ~MemoryDialog () |
void | params (QStringList &par) |
Protected Slots | |
void | virtualMemoryEnabled (bool enable) |
void | searchSwapDir () |
void | invokeHelp () |
Definition at line 30 of file MemoryDialog.h.
Kwave::MemoryDialog::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 | ||
) |
Constructor.
parent | the dialog's parent widget |
physical_limited | determines if the physical memory is limited |
physical_limit | limit of physical memory [megabytes], 0=no limit |
virtual_enabled | true if virtual memory is enabled |
virtual_limited | determines if the virtual memory is limited |
virtual_limit | limit of virtual memory [megabytes], 0=disabled, UINT_MAX = no limit |
virtual_dir | directory for virtual memory files |
undo_limit | limit of memory for undo/redo [megabytes] |
Definition at line 48 of file MemoryDialog.cpp.
References Kwave::connect(), Kwave::MemoryManager::instance(), invokeHelp(), isOK(), searchSwapDir(), Kwave::toInt(), Kwave::MemoryManager::totalPhysical(), Kwave::toUint(), and virtualMemoryEnabled().
|
virtual |
|
protectedslot |
invoke the online help
Definition at line 161 of file MemoryDialog.cpp.
References _.
Referenced by MemoryDialog().
bool Kwave::MemoryDialog::isOK | ( | ) |
Returns true if the dialog is usable (no null pointers)
Definition at line 103 of file MemoryDialog.cpp.
Referenced by MemoryDialog().
void Kwave::MemoryDialog::params | ( | QStringList & | par | ) |
Returns all parameters as a list.
Definition at line 120 of file MemoryDialog.cpp.
Referenced by Kwave::MemoryPlugin::setup().
|
protectedslot |
Connected to the Search button to select a new swap directory
Definition at line 147 of file MemoryDialog.cpp.
References Kwave::FileDialog::SelectDir, and Kwave::FileDialog::selectedUrl().
Referenced by MemoryDialog().
|
protectedslot |
Called if the virtual memory has been enabled / disabled
Definition at line 133 of file MemoryDialog.cpp.
Referenced by MemoryDialog().