31 #include <KMainWindow> 40 class QDragEnterEvent;
92 QList<Kwave::App::FileAndInstance> openFiles()
const;
107 QList<Kwave::FileContext *> detachAllContexts();
121 int loadFile(
const QUrl &url);
130 void updateRecentFiles();
139 int executeCommand(
const QString &command);
151 int forwardCommand(
const QString &command);
156 virtual void closeEvent(QCloseEvent *e) Q_DECL_OVERRIDE;
159 virtual void dragEnterEvent(QDragEnterEvent *event) Q_DECL_OVERRIDE;
165 virtual void dropEvent(QDropEvent *event) Q_DECL_OVERRIDE;
187 void setUndoRedoInfo(
const QString &undo,
const QString &redo);
190 void clipboardChanged(
bool data_available);
196 void resetToolbarToDefaults();
199 void updateToolbar();
242 void modifiedChanged();
245 void showInSplashSreen(
const QString &message);
252 void showStatusBarMessage(
const QString &msg,
unsigned int ms);
258 void subWindowActivated(QMdiSubWindow *sub);
264 void subWindowDeleted(QObject *obj);
299 unsigned int bits,
unsigned int tracks);
312 bool closeAllSubWindows();
319 int openRecent(
const QString &str);
322 void updateCaption();