File: wtreeitem.h

package info (click to toggle)
mixxx 1.4.2-1.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 10,676 kB
  • ctags: 4,130
  • sloc: ansic: 35,627; cpp: 27,118; xml: 3,691; sh: 417; makefile: 54
file content (43 lines) | stat: -rw-r--r-- 864 bytes parent folder | download
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
43
//
// C++ Interface: wtreeitem
//
// Description: 
//
//
// Author: Tue Haste Andersen <haste@diku.dk>, (C) 2003
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef WTREEITEM_H
#define WTREEITEM_H

#include <qlistview.h>
#include <qwidget.h>
#include <qobject.h>
class Track;

/**
@author Tue Haste Andersen
*/
class WTreeItem : public QListViewItem
{
public:
    WTreeItem(QListView *parent);
    WTreeItem(QListView *parent, const QString &s1);
    WTreeItem(WTreeItem *parent);
    WTreeItem(WTreeItem *parent, const QString &s1);
    WTreeItem(WTreeItem *parent, const QString &s1, const QString &s2);
    ~WTreeItem();

    virtual QString type() { return "WTreeItem"; };

    virtual void popupMenu() {};
    virtual QString drag();
    static void setTrack(Track *pTrack);
    
protected:
    static Track *spTrack;
};

#endif