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,8 +106,10 @@ static inline void qskSendKey( QQuickItem* receiver, int key )
QCoreApplication::sendEvent( receiver, &keyRelease );
}
class KeyProcessor : public QObject
namespace
{
class KeyProcessor : public QObject
{
Q_OBJECT
public:
@ -258,7 +260,7 @@ class KeyProcessor : public QObject
}
Q_SIGNALS:
void keyProcessingFinished( const Result& result );
void keyProcessingFinished( const Result& );
private:
inline QString keyString( int keyCode ) const
@ -291,8 +293,8 @@ class KeyProcessor : public QObject
int m_spaceLeft = -1;
QskTextPredictor* m_predictor = nullptr;
Result m_currentResult;
};
};
}
class QskInputPanel::PrivateData
{