19 #ifndef __SONGBOOK_HH__ 
   20 #define __SONGBOOK_HH__ 
   26 #include <QStringList> 
   28 #include <QtVariantProperty> 
   34 class QtGroupBoxPropertyBrowser;
 
   35 class QtGroupPropertyManager;
 
   88   void save(
const QString &filename);
 
   94   void load(
const QString &filename);
 
  130   void setChecked(
const QModelIndex &index, 
bool value);
 
  136   void toggle(
const QModelIndex &index);
 
  172   QString 
tmpl() 
const;
 
  178   void selectLanguages(
const QStringList &languages);
 
  212   bool isChecked(
const QModelIndex &index);
 
  214   virtual QVariant data(
const QModelIndex &index, 
int role = Qt::DisplayRole) 
const;
 
  215   virtual Qt::ItemFlags flags(
const QModelIndex &index) 
const;
 
  216   virtual bool setData(
const QModelIndex &index, 
const QVariant &value, 
int role = Qt::EditRole);
 
  219   void wasModified(
bool modified);
 
  223   void sourceModelAboutToBeReset();
 
  224   void sourceModelReset();
 
  231   QList< bool > m_selectedSongs;
 
  236   QtVariantPropertyManager *m_propertyManager;
 
  237   QtGroupPropertyManager *m_groupManager;
 
  239   QMap< QString, QtVariantProperty* > m_parameters;
 
  241   QList< QtProperty*> m_mandatoryParameters;
 
  242   QtProperty *m_advancedParameters;
 
  245 #endif // __SONGBOOK_HH__