19 #ifndef __SONG_EDITOR_HH__
20 #define __SONG_EDITOR_HH__
51 Q_PROPERTY(
bool newSong READ isNewSong WRITE setNewSong)
58 QToolBar * toolBar()
const;
62 QActionGroup * actionGroup()
const;
67 void installHighlighter();
70 void setSong(
const Song &song);
74 bool isModified()
const;
75 bool isNewSong()
const;
83 bool isSpellCheckAvailable()
const;
84 void setSpellCheckAvailable(
const bool);
87 void setModified(
bool modified);
88 void setNewSong(
bool newSong);
89 void setDictionary(
const QLocale & locale);
92 void labelChanged(
const QString &label);
93 void saved(
const QString &path);
96 void closeEvent(QCloseEvent *event);
101 void documentWasModified();
105 bool checkSongMandatoryFields();
107 void createNewSong();
113 QActionGroup *m_actions;
116 QAction* m_spellCheckingAct;
123 #endif // __SONG_EDITOR_HH__