2
* Kscd - A simple cd player for the KDE Project
4
* Copyright (c) 1997 Bernd Johannes wuebben@math.cornell.edu
5
* Copyright (c) 2002-2003 Aaron J. Seigo <aseigo@kde.org>
6
* Copyright (c) 2004 Alexander Kern <alex.kern@gmx.de>
7
* Copyright (c) 2003-2006 Richard Lärkäng <nouseforaname@home.se>
12
* Stanislas KRZYWDA <stanislas.krzywda@gmail.com>
13
* Sovanramy Var <mastasushi@gmail.com>
14
* Bouchikhi Mohamed-Amine <bouchikhi.amine@gmail.com>
15
* Gastellu Sylvain<sylvain.gastellu@gmail.com>
16
* -----------------------------------------------------------------------------
18
* This program is free software; you can redistribute it and/or modify
19
* it under the terms of the GNU General Public License as published by
20
* the Free Software Foundation; either version 2, or (at your option)
23
* This program is distributed in the hope that it will be useful,
24
* but WITHOUT ANY WARRANTY; without even the implied warranty of
25
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
* GNU General Public License for more details.
28
* You should have received a copy of the GNU General Public License
29
* along with this program; if not, write to the Free Software
30
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34
#ifndef TRACKLISTDLG_H
35
#define TRACKLISTDLG_H
37
#include "ui_trackListDlgUI.h"
43
class trackListDlgUI : public QWidget, public Ui::trackListDlgUI
46
trackListDlgUI( QWidget *parent ) : QWidget( parent ) {
51
class TrackListDlg : public KDialog
56
/** Create an instance of TrackListDlg */
57
TrackListDlg(QWidget* parent = 0);
59
/** Destroy an instance of TrackListDlg */
62
/** Modify the text of the album label
65
void setAlbumLbl(const QString&);
67
/** Modify the text of the year label
70
void setYearLbl(const QString&);
72
/** Add a row to the track table
75
void addItemTrackTable(int,int,const QString&);
77
/** Return the number of column of the track table
80
int numberColumnTrackTable() const;
82
/** Set the number of rows
85
void setRowCount(int nRows);
87
/** Remove all rows to the track table
90
void removeRowsTrackTable();
92
/** Move the track dialog
95
void moveTrackDialog(int, int);
98
void closeEvent( QCloseEvent * event );
100
/** Mouse double click event on a row of the track table
103
void valueDoubleCliked(QTableWidgetItem*);
106
/** Send the postion of the clicked item**/
107
void itemClicked(int);
108
void trackListClosed();
110
trackListDlgUI *m_ui;
114
#endif // TRACKLISTDLG_H