diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 17:25:38 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 17:25:38 -0600 |
commit | 2d00595867197e5b5563d85e871a59a77a23f70f (patch) | |
tree | f0c893632a9d8fdd0afb481213439b1946b4a7f9 /sip/tdecore/kshortcut.sip | |
parent | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (diff) | |
download | pytde-2d00595867197e5b5563d85e871a59a77a23f70f.tar.gz pytde-2d00595867197e5b5563d85e871a59a77a23f70f.zip |
Fix FTBFS
Diffstat (limited to 'sip/tdecore/kshortcut.sip')
-rw-r--r-- | sip/tdecore/kshortcut.sip | 261 |
1 files changed, 0 insertions, 261 deletions
diff --git a/sip/tdecore/kshortcut.sip b/sip/tdecore/kshortcut.sip deleted file mode 100644 index 4eb2d03..0000000 --- a/sip/tdecore/kshortcut.sip +++ /dev/null @@ -1,261 +0,0 @@ -// -// Copyright 2006 Jim Bublitz <[email protected]> -// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson -// may also apply - - -// Generated by preSip -// module tdecore version KDE 3.5.3 - - -// This software is free software; you can redistribute it and/or -// modify it under the terms of the GNU General Public License as -// published by the Free Software Foundation; either version 2 of -// the License, or (at your option) any later version. -// -// This software is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public -// License along with this library; see the file COPYING. -// If not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - -class KKey -{ -%TypeHeaderCode -#include <kshortcut.h> -%End - - -public: - - enum - { - MOD_FLAG_COUNT - }; - - -%If ( KDE_3_1_3 - ) - - enum - { - QtWIN - }; - -%End - - - enum ModFlag - { - SHIFT, - CTRL, - ALT, - WIN - }; - - KKey (); - KKey (int); - KKey (const TQKeySequence&); - KKey (const TQKeyEvent*); - KKey (const KKey&); - KKey (const TQString&); - KKey (uint, uint); - void clear (); - bool init (int); - bool init (const TQKeySequence&); - bool init (const TQKeyEvent*); - bool init (const KKey&); - bool init (const TQString&); - bool init (uint, uint); - bool isNull () const; - uint sym () const; - uint modFlags () const; - int compare (const KKey&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKey&) const; - bool operator != (const KKey&) const; - bool operator < (const KKey&) const; -%End - - int keyCodeQt () const; - TQString toString () const; - TQString toStringInternal () const; - void simplify (); - static KKey& null (); - static TQString modFlagLabel (KKey::ModFlag); - -public: - -%If ( - KDE_3_2_0 ) -//ig bool isValidTQt () const; -//ig bool isValidNative () const; -%End - - -public: - -%If ( KDE_3_1_2 - KDE_3_1_3 ) - - enum - { - QtWIN - }; - -%End - - -public: - -%If ( - KDE_3_1_2 ) - - enum - { - QtWIN - }; - -%End - - -}; // class KKey - - -class KKeySequence -{ -%TypeHeaderCode -#include <kshortcut.h> -%End - - -public: - - enum - { - MAX_KEYS - }; - - KKeySequence (); - KKeySequence (const TQKeySequence&); - KKeySequence (const KKey&); -//ig KKeySequence (const KKeyNative&); - KKeySequence (const KKeySequence&); - KKeySequence (const TQString&); - void clear (); - bool init (const TQKeySequence&); - bool init (const KKey&); -//ig bool init (const KKeyNative&); - bool init (const KKeySequence&); - bool init (const TQString&); - uint count () const; - const KKey& key (uint) const; - bool isTriggerOnRelease () const; - bool setKey (uint, const KKey&); - bool isNull () const; - bool startsWith (const KKeySequence&) const; - int compare (const KKeySequence&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const KKeySequence&) const; - bool operator != (const KKeySequence&) const; - bool operator < (const KKeySequence&) const; -%End - - TQKeySequence qt () const; - int keyCodeQt () const; - TQString toString () const; - TQString toStringInternal () const; - static KKeySequence& null (); - -protected: - -public: - -%If ( - KDE_3_2_0 ) -//ig void setTriggerOnRelease (bool); -%End - - -}; // class KKeySequence - - -class TDEShortcut -{ -%TypeHeaderCode -#include <kshortcut.h> -%End - - -public: - - enum - { - MAX_SEQUENCES - }; - - TDEShortcut (); - TDEShortcut (int); - TDEShortcut (const TQKeySequence&); - TDEShortcut (const KKey&); - TDEShortcut (const KKeySequence&); - TDEShortcut (const TDEShortcut&); - TDEShortcut (const char*); - TDEShortcut (const TQString&); - void clear (); - bool init (int); - bool init (const TQKeySequence&); - bool init (const KKey&); - bool init (const KKeySequence&); - bool init (const TDEShortcut&); - bool init (const TQString&); - uint count () const; - const KKeySequence& seq (uint) const; - int keyCodeQt () const; - bool isNull () const; - int compare (const TDEShortcut&) const; - -%If ( KDE_3_1_4 - ) - bool operator == (const TDEShortcut&) const; - bool operator != (const TDEShortcut&) const; - bool operator < (const TDEShortcut&) const; -%End - - bool contains (const KKey&) const; - bool contains (const KKeyNative&) const; - bool contains (const KKeySequence&) const; - bool setSeq (uint, const KKeySequence&); - bool append (const KKeySequence&); - -%If ( KDE_3_3_0 - ) - void remove (const KKeySequence&); -%End - - -%If ( KDE_3_2_0 - ) - bool append (const KKey&); - bool append (const TDEShortcut&); -%End - - -%If ( KDE_3_1_4 - ) -//ig operator TQKeySequence () const; -%End - - TQString toString () const; - TQString toStringInternal (const TDEShortcut* = 0) const; - static TDEShortcut& null (); - -protected: - -public: - -%If ( KDE_3_1_4 - ) -//ig operator int () const; -%End - - -}; // class TDEShortcut - |