diff options
Diffstat (limited to 'python/pykde/extra/kde300/kkeyserver_x11.h')
-rw-r--r-- | python/pykde/extra/kde300/kkeyserver_x11.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/python/pykde/extra/kde300/kkeyserver_x11.h b/python/pykde/extra/kde300/kkeyserver_x11.h index faeb99ca..279dbd7d 100644 --- a/python/pykde/extra/kde300/kkeyserver_x11.h +++ b/python/pykde/extra/kde300/kkeyserver_x11.h @@ -17,15 +17,15 @@ namespace KKeyServer { m_sym = 0; } Sym( uint sym ) { m_sym = sym; } - Sym( const QString& s ) + Sym( const TQString& s ) { init( s ); } bool initQt( int keyQt ); - bool init( const QString& ); + bool init( const TQString& ); int qt() const; - QString toStringInternal() const; - QString toString() const; + TQString toStringInternal() const; + TQString toString() const; uint getModsRequired() const; uint getSymVariation() const; @@ -34,9 +34,9 @@ namespace KKeyServer Sym& operator =( uint sym ) { m_sym = sym; return *this; } private: - QString toString( bool bUserSpace ) const; + TQString toString( bool bUserSpace ) const; - static void capitalizeKeyname( QString& ); + static void capitalizeKeyname( TQString& ); }; struct Key @@ -120,10 +120,10 @@ namespace KKeyServer bool codeXToSym( uchar codeX, uint modX, uint& symX ); - QString modToStringInternal( uint mod ); - QString modToStringUser( uint mod ); + TQString modToStringInternal( uint mod ); + TQString modToStringUser( uint mod ); - bool stringToSymMod( const QString&, uint& sym, uint& mod ); + bool stringToSymMod( const TQString&, uint& sym, uint& mod ); void keyQtToKeyX( uint keyCombQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX ); }; |