20 #ifndef __SYNTHCLONE_SAMPLE_H__ 21 #define __SYNTHCLONE_SAMPLE_H__ 23 #include <QtCore/QObject> 24 #include <QtCore/QString> 28 class SampleInputStream;
29 class SampleOutputStream;
61 Sample(
bool temporary=
true, QObject *parent=0);
80 Sample(
const QString &path,
bool temporary=
false, QObject *parent=0);
99 Sample(
const Sample &sample,
bool temporary=
true, QObject *parent=0);
119 Sample(
const Sample &sample,
const QString &path,
bool temporary=
false,
178 initializeData(
const Sample &sample);
181 initializeTemporaryPath();
Definition: component.h:26
void setTemporary(bool temporary)
Sets a boolean indicating whether or not the file referenced by this object will be deleted when this...
bool isTemporary() const
Returns a boolean indicating whether or not the file referenced by this object will be deleted when t...
QString getPath() const
Gets the path to the file holding this sample.
Sample(bool temporary=true, QObject *parent=0)
Initializes an empty sample object.
Contains sample data.
Definition: sample.h:37
~Sample()
If the file linked to this sample object is a temporary file, then the temporary file is deleted...
Used to write sample data to a sample file.
Definition: sampleoutputstream.h:34
void temporaryChanged(bool temporary)
Emitted when the temporary flag changes.