44 |
|
|
45 |
#include "config.h" |
#include "config.h" |
46 |
|
|
47 |
|
#ifdef HAVE_SIGNAL_H |
48 |
|
#include <signal.h> |
49 |
|
#endif |
50 |
|
|
51 |
// Timer constant stuff. |
// Timer constant stuff. |
52 |
#define QSAMPLER_TIMER_MSECS 200 |
#define QSAMPLER_TIMER_MSECS 200 |
119 |
|
|
120 |
m_iTimerSlot = 0; |
m_iTimerSlot = 0; |
121 |
|
|
122 |
|
#ifdef HAVE_SIGNAL_H |
123 |
|
// Set to ignore any fatal "Broken pipe" signals. |
124 |
|
::signal(SIGPIPE, SIG_IGN); |
125 |
|
#endif |
126 |
|
|
127 |
// Make it an MDI workspace. |
// Make it an MDI workspace. |
128 |
m_pWorkspace = new QWorkspace(this); |
m_pWorkspace = new QWorkspace(this); |
129 |
m_pWorkspace->setScrollBarsEnabled(true); |
m_pWorkspace->setScrollBarsEnabled(true); |