summaryrefslogtreecommitdiffstats
path: root/extra/kde301/kkeyserver_x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'extra/kde301/kkeyserver_x11.h')
-rw-r--r--extra/kde301/kkeyserver_x11.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/extra/kde301/kkeyserver_x11.h b/extra/kde301/kkeyserver_x11.h
index faeb99c..c6250b2 100644
--- a/extra/kde301/kkeyserver_x11.h
+++ b/extra/kde301/kkeyserver_x11.h
@@ -17,26 +17,26 @@ 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 initTQt( int keyTQt );
+ bool init( const TQString& );
int qt() const;
- QString toStringInternal() const;
- QString toString() const;
+ TQString toStringInternal() const;
+ TQString toString() const;
- uint getModsRequired() const;
+ uint getModsRetquired() const;
uint getSymVariation() const;
operator uint() const { return m_sym; }
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
@@ -47,17 +47,17 @@ namespace KKeyServer
uint m_mod;
uint m_sym;
- bool init( const KKey& key, bool bQt );
+ bool init( const KKey& key, bool bTQt );
bool isNative() const { return m_code != CODE_FOR_QT; }
uint code() const { return m_code; }
uint mod() const { return m_mod; }
uint sym() const { return m_sym; }
- int keyCodeQt() const { return (int) m_sym; }
+ int keyCodeTQt() const { return (int) m_sym; }
- void setKeycodeQt( int keyQt )
- { m_code = CODE_FOR_QT; m_sym = keyQt; }
+ void setKeycodeTQt( int keyTQt )
+ { m_code = CODE_FOR_QT; m_sym = keyTQt; }
Key& operator =( const KKeyNative& key );
int compare( const Key& ) const;
@@ -79,7 +79,7 @@ namespace KKeyServer
Variations() { m_nVariations = 0; }
- void init( const KKey&, bool bQt );
+ void init( const KKey&, bool bTQt );
uint count() const { return m_nVariations; }
const Key& key( uint i ) const { return m_rgkey[i]; }
@@ -109,23 +109,23 @@ namespace KKeyServer
*/
uint accelModMaskX();
- bool keyQtToSym( int keyQt, uint& sym );
- bool keyQtToMod( int keyQt, uint& mod );
- bool symToKeyQt( uint sym, int& keyQt );
+ bool keyTQtToSym( int keyTQt, uint& sym );
+ bool keyTQtToMod( int keyTQt, uint& mod );
+ bool symToKeyTQt( uint sym, int& keyTQt );
- bool modToModQt( uint mod, int& modQt );
+ bool modToModTQt( uint mod, int& modTQt );
bool modToModX( uint mod, uint& modX );
- bool modXToModQt( uint modX, int& modQt );
+ bool modXToModTQt( uint modX, int& modTQt );
bool modXToMod( uint modX, uint& mod );
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 );
+ void keyTQtToKeyX( uint keyCombTQt, unsigned char *pKeyCodeX, uint *pKeySymX, uint *pKeyModX );
};
#endif // !_KKEYSERVER_X11_H