summaryrefslogtreecommitdiff
path: root/utils/wpseditor/gui/src/qwpseditorwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/wpseditor/gui/src/qwpseditorwindow.h')
-rw-r--r--utils/wpseditor/gui/src/qwpseditorwindow.h79
1 files changed, 0 insertions, 79 deletions
diff --git a/utils/wpseditor/gui/src/qwpseditorwindow.h b/utils/wpseditor/gui/src/qwpseditorwindow.h
deleted file mode 100644
index 0009548be2..0000000000
--- a/utils/wpseditor/gui/src/qwpseditorwindow.h
+++ /dev/null
@@ -1,79 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Rostilav Checkan
10 * $Id$
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#ifndef MAINWINDOWIMPL_H
23#define MAINWINDOWIMPL_H
24//
25#include <QMainWindow>
26#include <QActionGroup>
27#include <QSignalMapper>
28
29#include "wpsstate.h"
30#include "ui_mainwindow.h"
31#include "wpsstate.h"
32#include "qwpsstate.h"
33#include "qtrackstate.h"
34#include "qwpsdrawer.h"
35
36class QWpsEditorWindow : public QMainWindow, public Ui::MainWindow {
37 Q_OBJECT
38
39 QWpsState wpsState;
40 QTrackState trackState;
41 QPointer<QWpsDrawer> drawer;
42
43 QHash<int, QAction*> actAudios;
44 QActionGroup *actGroupAudios;
45 QSignalMapper *audiosSignalMapper;
46
47 QHash<QString,QAction *> actTargets;
48 QActionGroup *actGroupTargets;
49 QSignalMapper *targetsSignalMapper;
50
51 int scrollingLine;
52protected:
53 void connectActions();
54 void postWpsUpdate();
55public:
56 QWpsEditorWindow( QWidget * parent = 0, Qt::WFlags f = 0 );
57 void logMsg(QString s);
58private slots:
59 void slotOpenWps();
60 void slotVerboseLevel();
61 void slotWpsStateChanged(wpsstate);
62 void slotTrackStateChanged(trackstate);
63
64 void slotUpdatePlainWps();
65 void slotPlainDocModChanged(bool m);
66 void slotSetTarget(const QString &);
67
68signals:
69 void signalAudioStatusChanged(int);
70 void signalSetTarget(const QString &);
71
72};
73#endif
74
75
76
77
78
79