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 
7 #include "ui_tagconverter.h"
8 
11 
17 class MIAMTAGEDITOR_LIBRARY TagConverter : public QDialog, public Ui::TagConverter
18 {
19  Q_OBJECT
20 
21 private:
22  QPushButton *_convertButton;
23  TagEditorTableWidget *_tagEditor;
24 
25 public:
26  explicit TagConverter(QPushButton *convertButton, TagEditorTableWidget *parent);
27 
28  void setVisible(bool b);
29 
30 protected:
31  virtual bool eventFilter(QObject *, QEvent *event);
32 
33 private:
34  QString autoGuessPatternFromFile() const;
35 
36  QString generatePattern(TagLineEdit *lineEdit) const;
37 
38 private slots:
39  void applyPatternToColumns();
40 
41  void applyPatternToFilenames();
42 };
43 
44 #endif // TAGCONVERTER_H
#define MIAMTAGEDITOR_LIBRARY
Definition: miamtageditor_global.hpp:8
The TagConverter class displays a small popup to help one to extract Tag into files and vice-versa...
Definition: tagconverter.h:17
The TagEditorTableWidget class is a table where one can select lines in order to edit multiple tags...
Definition: tageditortablewidget.h:16
Definition: ui_tagconverter.h:262
The TagLineEdit class.
Definition: taglineedit.h:13