~ubuntu-branches/ubuntu/breezy/kdemultimedia/breezy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-03-24 04:48:58 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050324044858-8ff88o9jxej6ii3d
Tags: 4:3.4.0-0ubuntu3
Add kubuntu_02_hide_arts_menu_entries.diff to hide artsbuilder and artscontrol k-menu entries

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 PREVIEW_ITEM
8
 
#define PREVIEW_ITEM
9
 
 
10
 
#include <qlistview.h>
11
 
#include <qstring.h>
12
 
 
13
 
class Track;
14
 
 
15
 
class PreviewItem : public QObject, public QListViewItem
16
 
{
17
 
  Q_OBJECT
18
 
 
19
 
  public:
20
 
 
21
 
    PreviewItem(QListView *, Track *);
22
 
 
23
 
    QString key(int, bool) const;
24
 
 
25
 
  protected slots:
26
 
 
27
 
    void slotScoreChanged(int);
28
 
 
29
 
  private:
30
 
 
31
 
    bool visible_;
32
 
    QListView * listView_;
33
 
 
34
 
    Track * track_;
35
 
};
36
 
 
37
 
#endif