Miam-Player  0.8.0
A nice music player
tagconverter.h
Go to the documentation of this file.
1 #ifndef TAGCONVERTER_H
2 #define TAGCONVERTER_H
3 
4 #include <QDialog>
5 
6 #include "ui_tagconverter.h"
7 
10 
16 class TagConverter : public QDialog, public Ui::TagConverter
17 {
18  Q_OBJECT
19 
20 private:
21  QPushButton *_convertButton;
22  TagEditorTableWidget *_tagEditor;
23 
24 public:
25  explicit TagConverter(QPushButton *convertButton, TagEditorTableWidget *parent);
26 
27  void setVisible(bool b);
28 
29 protected:
30  virtual bool eventFilter(QObject *, QEvent *event);
31 
32 private:
33  QString autoGuessPatternFromFile() const;
34 
35  QString generatePattern(TagLineEdit *lineEdit) const;
36 
37 private slots:
38  void applyPatternToColumns();
39 
40  void applyPatternToFilenames();
41 };
42 
43 #endif // TAGCONVERTER_H
void setVisible(bool b)
Definition: tagconverter.cpp:32
The TagConverter class displays a small popup to help one to extract Tag into files and vice-versa...
Definition: tagconverter.h:16
virtual bool eventFilter(QObject *, QEvent *event)
Definition: tagconverter.cpp:45
TagConverter(QPushButton *convertButton, TagEditorTableWidget *parent)
Definition: tagconverter.cpp:8
The TagEditorTableWidget class is a table where one can select lines in order to edit multiple tags...
Definition: tageditortablewidget.h:15
Definition: ui_tagconverter.h:262
The TagLineEdit class.
Definition: taglineedit.h:12