diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /python/pykde/extra/kde300/kkeyserver_x11.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ); }; |