Switch to unified view

a/GUI/volumewidget/vw.cpp b/GUI/volumewidget/vw.cpp
...
...
20
20
21
#include <string>
21
#include <string>
22
#include <iostream>
22
#include <iostream>
23
using namespace std;
23
using namespace std;
24
24
25
#include "volumewidget.h"
26
25
#include <QApplication>
27
#include <QApplication>
28
#include <QWidget>
29
#include <QObject>
26
30
27
#include "volumewidget.h"
31
#include "vw.h"
28
32
29
static const char *thisprog;
33
static const char *thisprog;
30
34
31
static int    op_flags;
35
static int    op_flags;
32
#define OPT_h     0x4 
36
#define OPT_h     0x4 
...
...
71
75
72
    if (argc > 0)
76
    if (argc > 0)
73
        Usage();
77
        Usage();
74
78
75
    VolumeHWidget w;
79
    VolumeHWidget w;
80
//    VolumeWidget w;
81
    TestReceiver r;
82
    app.connect(&w, SIGNAL(volumeChanged(int)), &r, SLOT(onVolumeChanged(int)));
83
    app.connect(&w, SIGNAL(muteChanged(bool)), &r, SLOT(onMuteChanged(bool)));
76
    w.show();
84
    w.show();
85
    w.setUi(50);
77
    return app.exec();
86
    return app.exec();
78
}
87
}