|
kwave
18.07.70
|
#include "config.h"#include <QtGlobal>#include <QAction>#include <QIcon>#include <KLocalizedString>#include <KMainWindow>#include "libkwave/FileInfo.h"#include "libkwave/Parser.h"#include "libkwave/PlaybackController.h"#include "libkwave/SignalManager.h"#include "libgui/MenuManager.h"#include "FileContext.h"#include "PlayerToolBar.h"
Go to the source code of this file.
Macros | |
| #define | SEEK_LENGTH (m_last_visible / 10) |
| #define | UPDATE_MENU(__action__, __entry__) |
| #define | CASE_COMMAND(x) } else if (command == _(x)) { |
| #define CASE_COMMAND | ( | x | ) | } else if (command == _(x)) { |
useful macro for command parsing
Definition at line 47 of file PlayerToolBar.cpp.
Referenced by Kwave::PlayerToolBar::executeCommand().
| #define SEEK_LENGTH (m_last_visible / 10) |
default width to skip when doing a "seek" = 1/10 of visible range
Definition at line 39 of file PlayerToolBar.cpp.
Referenced by Kwave::PlayerToolBar::toolbarForward(), Kwave::PlayerToolBar::toolbarRewind(), and Kwave::PlayerToolBar::updateState().
| #define UPDATE_MENU | ( | __action__, | |
| __entry__ | |||
| ) |
shortcut for coupling the "enable" of a menu item to a toolbar action
Definition at line 42 of file PlayerToolBar.cpp.
Referenced by Kwave::PlayerToolBar::updateState().