kwave
18.07.70
|
#include "config.h"
#include <QDir>
#include <QLatin1Char>
#include <KConfigGroup>
#include <KSharedConfig>
#include "libkwave/String.h"
#include "MP3EncoderSettings.h"
Go to the source code of this file.
Macros | |
#define | MP3_ENCODER_CONFIG_GROUP "MP3_Encoder_Settings" |
#define | LOAD(field, key) |
#define | SAVE(field, key) cfg.writeEntry(key, sanitized(field)) |
Functions | |
static QString | sanitized (const QString &in) |
#define LOAD | ( | field, | |
key | |||
) |
load from config file
field | receives the value |
key | identifier in the config section |
Definition at line 38 of file MP3EncoderSettings.cpp.
Referenced by Kwave::MP3EncoderSettings::load().
#define MP3_ENCODER_CONFIG_GROUP "MP3_Encoder_Settings" |
name of the section in the config file
Definition at line 31 of file MP3EncoderSettings.cpp.
Referenced by Kwave::MP3EncoderSettings::load(), and Kwave::MP3EncoderSettings::save().
#define SAVE | ( | field, | |
key | |||
) | cfg.writeEntry(key, sanitized(field)) |
save to config file
field | value to save |
key | identifier in the config section |
Definition at line 46 of file MP3EncoderSettings.cpp.
Referenced by Kwave::MP3EncoderSettings::save().
|
static |
Makes sure that the string does only contain allowed characters, avoid misuse of the command line parameters
in | potentially unsafe string |
Definition at line 56 of file MP3EncoderSettings.cpp.
References _.