class moved to anonymous namespace

This commit is contained in:
Uwe Rathmann 2022-03-24 08:18:15 +01:00
parent 95dab4301d
commit 9fe2771225
1 changed files with 160 additions and 158 deletions

View File

@ -106,6 +106,8 @@ static inline void qskSendKey( QQuickItem* receiver, int key )
QCoreApplication::sendEvent( receiver, &keyRelease ); QCoreApplication::sendEvent( receiver, &keyRelease );
} }
namespace
{
class KeyProcessor : public QObject class KeyProcessor : public QObject
{ {
Q_OBJECT Q_OBJECT
@ -258,7 +260,7 @@ class KeyProcessor : public QObject
} }
Q_SIGNALS: Q_SIGNALS:
void keyProcessingFinished( const Result& result ); void keyProcessingFinished( const Result& );
private: private:
inline QString keyString( int keyCode ) const inline QString keyString( int keyCode ) const
@ -292,7 +294,7 @@ class KeyProcessor : public QObject
QskTextPredictor* m_predictor = nullptr; QskTextPredictor* m_predictor = nullptr;
Result m_currentResult; Result m_currentResult;
}; };
}
class QskInputPanel::PrivateData class QskInputPanel::PrivateData
{ {