Initial commit of musik, my KDE4 simplest (and hopefully faster..)
[musik.git] / musikedit.h
blobdf13bf49ef25770c6cf8e539c4ed09666772b74d
1 // andrea diamantini - adjam7@gmail.com
2 // musik - simplest KDE4 audio player
3 // file musikedit.h
5 #ifndef MUSIK_EDIT_H
6 #define MUSIK_EDIT_H
8 #include <QtGui>
10 #include <phonon>
12 class MusikEdit : public QWidget
14 Q_OBJECT
16 public:
17 MusikEdit(Phonon::MediaObject &);
18 ~MusikEdit();
20 private:
21 void setSongInfo(Phonon::MediaObject &);
22 void setupUi();
24 QLineEdit *artistLine;
25 QLineEdit *albumLine;
26 QLineEdit *titleLine;
27 QLineEdit *dateLine;
28 QLineEdit *genreLine;
29 QLineEdit *trackNumberLine;
30 QLineEdit *descLine;
32 QPushButton *okButton;
33 QPushButton *clearButton;
34 QPushButton *cancelButton;
36 private slots:
37 void ok();
38 void clear();
39 void cancel();
43 #endif