mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T171, move completer utility function in own class
This commit is contained in:
@@ -49,6 +49,19 @@ namespace BlackGui
|
||||
qint64 m_lastUpdated = 0;
|
||||
QScopedPointer<QCompleter> m_completer { new QCompleter(QStringList()) }; // empty list required to init model
|
||||
};
|
||||
|
||||
/**
|
||||
* Utility functions
|
||||
*/
|
||||
class BLACKGUI_EXPORT CompleterUtils
|
||||
{
|
||||
public:
|
||||
//! No Ctor
|
||||
CompleterUtils() = delete;
|
||||
|
||||
//! How completer behaves
|
||||
static void setCompleterParameters(QCompleter *completer);
|
||||
};
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user