mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Filter minor style/refactoring
* use normal functions instead of slots * some renamings
This commit is contained in:
committed by
Mat Sutcliffe
parent
f00866fbe7
commit
314c48d5d1
@@ -844,14 +844,14 @@ namespace BlackGui
|
||||
}
|
||||
|
||||
template <class T>
|
||||
bool CViewBase<T>::ps_filterDialogFinished(int status)
|
||||
bool CViewBase<T>::filterDialogFinished(int status)
|
||||
{
|
||||
QDialog::DialogCode statusCode = static_cast<QDialog::DialogCode>(status);
|
||||
return ps_filterWidgetChangedFilter(statusCode == QDialog::Accepted);
|
||||
return filterWidgetChangedFilter(statusCode == QDialog::Accepted);
|
||||
}
|
||||
|
||||
template <class T>
|
||||
bool CViewBase<T>::ps_filterWidgetChangedFilter(bool enabled)
|
||||
bool CViewBase<T>::filterWidgetChangedFilter(bool enabled)
|
||||
{
|
||||
if (enabled)
|
||||
{
|
||||
@@ -884,12 +884,6 @@ namespace BlackGui
|
||||
return true; // handled
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void CViewBase<T>::ps_removeFilter()
|
||||
{
|
||||
this->derivedModel()->removeFilter();
|
||||
}
|
||||
|
||||
template <class T>
|
||||
void CViewBase<T>::ps_clicked(const QModelIndex &index)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user