|
kwave
18.07.70
|
#include "config.h"#include <QAbstractButton>#include <QApplication>#include <QBuffer>#include <QCursor>#include <QDialogButtonBox>#include <QDir>#include <QFile>#include <QFileInfo>#include <QLatin1Char>#include <QPointer>#include <QProcess>#include <QPushButton>#include <QtGlobal>#include <QLineEdit>#include <KHelpClient>#include <KProcess>#include "libkwave/FileInfo.h"#include "libkwave/MessageBox.h"#include "libkwave/MetaDataList.h"#include "libkwave/MultiTrackReader.h"#include "libkwave/ReaderMode.h"#include "libkwave/SignalManager.h"#include "libkwave/String.h"#include "libkwave/Utils.h"#include "libgui/FileDialog.h"#include "MP3Encoder.h"#include "MP3EncoderDialog.h"#include "MP3EncoderSettings.h"
Go to the source code of this file.
Macros | |
| #define | PRESET_NAME_USER_DEFINED i18n("(user defined)") |
| #define | EXE_SUFFIX "" |
| #define | LOAD(field, control) control->setText(m_settings.field) |
| #define | SAVE(field, control) m_settings.field = QString(control->text()).simplified() |
| #define | CONNECT(control) |
| #define | CHECK(field, control) |
| #define | ELEMENTS_OF(x) (sizeof(x) / sizeof(x[0])) |
Variables | |
| const Kwave::MP3EncoderSettings | g_predefined_settings [] |
| #define CHECK | ( | field, | |
| control | |||
| ) |
check if the content of a QLineEdit matches the corresponding member of some "settings" record
| field | member within m_settings |
| control | the QLineEdit to compare against |
Definition at line 248 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::switchToUserDefined().
| #define CONNECT | ( | control | ) |
connect the editingFinished() signal of a QLineEdit to our slot switchToUserDefined()
| control | the QLineEdit to handle |
Definition at line 237 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::MP3EncoderDialog().
| #define ELEMENTS_OF | ( | x | ) | (sizeof(x) / sizeof(x[0])) |
Definition at line 251 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::autoDetect(), Kwave::MP3EncoderDialog::load(), Kwave::MP3EncoderDialog::MP3EncoderDialog(), Kwave::MP3EncoderDialog::save(), Kwave::MP3EncoderDialog::selectProgram(), Kwave::MP3EncoderDialog::switchToUserDefined(), and Kwave::MP3EncoderDialog::updateEncoderInfo().
| #define EXE_SUFFIX "" |
Definition at line 59 of file MP3EncoderDialog.cpp.
| #define LOAD | ( | field, | |
| control | |||
| ) | control->setText(m_settings.field) |
load a text field with the content of the current settings
| field | member within m_settings |
| control | the QLineEdit to fill with the value |
Definition at line 222 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::load().
| #define PRESET_NAME_USER_DEFINED i18n("(user defined)") |
text of the last entry in the combo box, for user defined settings
Definition at line 54 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::MP3EncoderDialog(), and Kwave::MP3EncoderDialog::updateEncoderInfo().
| #define SAVE | ( | field, | |
| control | |||
| ) | m_settings.field = QString(control->text()).simplified() |
take the content of a QLineEdit and save it back into m_settings
| field | member within m_settings |
| control | the QLineEdit to fill with the value |
Definition at line 229 of file MP3EncoderDialog.cpp.
Referenced by Kwave::MP3EncoderDialog::save().
| const Kwave::MP3EncoderSettings g_predefined_settings[] |
set of predefined encoder settings
Definition at line 65 of file MP3EncoderDialog.cpp.