[0f6817]: kwave / markers.h Maximize Restore History

Download this file

markers.h    43 lines (38 with data), 1.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef _KWAVEMARKERS_H_
#define _KWAVEMARKERS_H_ 1
#include <qstring.h>
#include <qlist.h>
class MarkerType
//Type Information for Markers mainly information concerning the outlook
{
public:
MarkerType ();
~MarkerType();
QString*name; //pointer to name
QColor *color; //color
bool named; //boolean if named
bool selected;
};
//***********************************************************
class Marker
//Marker Class is for marking positions in the signal
{
public:
Marker();
~Marker();
int pos; //position
QString *name; //pointer to name
struct MarkerType *type; //pointer to type
};
//***********************************************************
class MarkerList:public QListT<Marker>
//Class for list of Markers has to inherit from QList to implement own
//compareItems method for sorting
{
// Q_OBJECT
public:
MarkerList::MarkerList();
MarkerList::~MarkerList();
int MarkerList::compareItems (GCI,GCI);
};
#endif //_KWAVEMARKERS_H_