mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
initial delegate work
This commit is contained in:
parent
8eba4c171f
commit
f17bba773d
@ -42,7 +42,7 @@ public:
|
||||
virtual QRect checkRectForIndex( const QStyleOptionViewItem &option, const QModelIndex &idx, int role ) const;
|
||||
virtual QRect configRectForIndex( const QStyleOptionViewItem& option, const QModelIndex& idx ) const;
|
||||
|
||||
// virtual QList<int> extraCheckRoles() const { return QList<int>() << (int)AccountModel::AccountTypeRole; }
|
||||
virtual QList<int> extraCheckRoles() const { return QList<int>() << (int)AccountModel::AccountTypeRole; }
|
||||
private slots:
|
||||
void askedForEdit( const QModelIndex& idx );
|
||||
|
||||
|
@ -75,7 +75,7 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
||||
settingsdialog.cpp
|
||||
diagnosticsdialog.cpp
|
||||
configdelegatebase.cpp
|
||||
# AccountDelegate.cpp
|
||||
AccountDelegate.cpp
|
||||
settingslistdelegate.cpp
|
||||
tomahawkwindow.cpp
|
||||
LoadXSPFDialog.cpp
|
||||
@ -125,7 +125,7 @@ SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
||||
settingsdialog.h
|
||||
diagnosticsdialog.h
|
||||
configdelegatebase.h
|
||||
# AccountDelegate.h
|
||||
AccountDelegate.h
|
||||
settingslistdelegate.h
|
||||
delegateconfigwrapper.h
|
||||
tomahawkwindow.h
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
HasConfig = Qt::UserRole + 26,
|
||||
ErrorString = Qt::UserRole + 27,
|
||||
|
||||
// used by individual accounts, needed still?
|
||||
// used by individual accounts
|
||||
AccountData = Qt::UserRole + 28 // raw plugin
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user