diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/electronics/components/eckeypad.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/electronics/components/eckeypad.h')
-rw-r--r-- | src/electronics/components/eckeypad.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/electronics/components/eckeypad.h b/src/electronics/components/eckeypad.h index 18a497c..c2794e5 100644 --- a/src/electronics/components/eckeypad.h +++ b/src/electronics/components/eckeypad.h @@ -26,13 +26,13 @@ class ECKeyPad : public Component static Item* construct( ItemDocument *itemDocument, bool newItem, const char *id ); static LibraryItem *libraryItem(); - virtual void buttonStateChanged( const QString &id, bool state ); + virtual void buttonStateChanged( const TQString &id, bool state ); virtual bool canFlip() const { return true; } protected: virtual void dataChanged(); void initPins( unsigned numCols); - QString buttonID( int row, int col ) const; + TQString buttonID( int row, int col ) const; int sideLength( unsigned numButtons ) const; Switch *m_switch[4][11]; |