~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/liszt/ScoreWidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2000 Rik Hemsley (rikkus) <rik@kde.org>. All rights reserved.
 
3
 *
 
4
LICENSE
 
5
 */
 
6
 
 
7
#ifndef SCORE_WIDGET_H
 
8
#define SCORE_WIDGET_H
 
9
 
 
10
#include <qlistview.h>
 
11
 
 
12
#include "Track.h"
 
13
 
 
14
class ArtistItem;
 
15
class CharlatanItem;
 
16
 
 
17
class ScoreWidget : public QListView
 
18
{
 
19
  Q_OBJECT
 
20
 
 
21
  public:
 
22
 
 
23
    ScoreWidget(QWidget * parent);
 
24
    virtual ~ScoreWidget();
 
25
 
 
26
  protected slots:
 
27
 
 
28
    void slotTrackAdded(Track *);
 
29
    void slotTrackListAdded(TrackList &);
 
30
 
 
31
  protected:
 
32
 
 
33
    void contentsMousePressEvent(QMouseEvent *);
 
34
    void contentsMouseReleaseEvent(QMouseEvent *);
 
35
 
 
36
  private:
 
37
 
 
38
    ArtistItem * _artistItem(const QString & name);
 
39
 
 
40
    CharlatanItem * itemDown_;
 
41
};
 
42
 
 
43
#endif // SCORE_WIDGET_H