~ubuntu-branches/ubuntu/lucid/lastfm/lucid

« back to all changes in this revision

Viewing changes to src/TagListWidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Devid Filoni
  • Date: 2008-07-14 16:46:20 UTC
  • mfrom: (1.1.7 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080714164620-67hoz9fs177wpgmr
Tags: 1:1.5.1.31879.dfsg-1ubuntu1
* Merge from Debian unstable (LP: #248100), remaining changes:
  - debian/rules: add dh_icons call
  + debian/control:
    - switch iceweasel to firefox in Recommends field
    - modify debhelper version to >= 5.0.51~
    - modify Maintainer to Ubuntu MOTU Developers

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
public:
43
43
    TagListWidget( QWidget* parent = 0 );
 
44
 
44
45
    void setSortOrder( Tags::SortOrder sortOrder );
45
46
    Tags::SortOrder sortOrder() { return m_sortOrder; }
 
47
 
46
48
    void sort();
47
 
    QTreeWidgetItem* addItem( const QString& label );
 
49
 
 
50
    QTreeWidgetItem* addItem( QString tag );
48
51
    void addItems( const QStringList& labels );
49
52
 
50
53
private:
57
60
 
58
61
private slots:
59
62
    void showSortContextMenu( const QPoint& point );
 
63
    
 
64
    void openTagPageForCurrentItem();
60
65
 
61
66
    void sortAZ();
62
67
    void sortZA();