[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/kdecore
From: Scott Wheeler <wheeler () kde ! org>
Date: 2006-10-28 4:22:22
Message-ID: 1162009342.864295.29485.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 599667 by wheeler:
This function is both broken and unneeded (QKeySequence has a constructor for int). BIC, but not SIC.
Alt-Tab and friends all work properly now (in KWin).
M +0 -9 kshortcut.cpp
M +0 -9 kshortcut.h
--- trunk/KDE/kdelibs/kdecore/kshortcut.cpp #599666:599667
@@ -175,15 +175,6 @@
return d == cut.d || d->seq == cut.d->seq;
}
-bool KShortcut::contains( int keyQt ) const
-{
- foreach (const QKeySequence& seq, d->seq)
- if (seq.count() && keyQt == seq[0])
- return true;
-
- return false;
-}
-
bool KShortcut::contains( const QKeySequence& otherSeq ) const
{
foreach (const QKeySequence& seq, d->seq)
--- trunk/KDE/kdelibs/kdecore/kshortcut.h #599666:599667
@@ -199,15 +199,6 @@
bool isNull() const;
/**
- * Checks whether this shortcut contains a sequence that starts
- * with the given key.
- * @param keyQt the key to check
- * @return @c true if a key sequence starts with the key, @c false
- * otherwise
- */
- bool contains( int keyQt ) const;
-
- /**
* Checks whether this shortcut contains the given sequence.
* @param keySeq the key sequence to check
* @return @c true if the shortcut has the given key sequence,
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic