projects
/
mdictionary
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
first (buggy) version of keyboard usage in qml list
[mdictionary]
/
src
/
mdictionary
/
gui
/
WordListWidget.h
diff --git
a/src/mdictionary/gui/WordListWidget.h
b/src/mdictionary/gui/WordListWidget.h
index
2a95c37
..
7128410
100644
(file)
--- a/
src/mdictionary/gui/WordListWidget.h
+++ b/
src/mdictionary/gui/WordListWidget.h
@@
-63,6
+63,8
@@
Q_SIGNALS:
void removeBookmark(QList<Translation*>);
void setWordListState(QVariant state);
void removeBookmark(QList<Translation*>);
void setWordListState(QVariant state);
+ void setWordListEmpty(QVariant state);
+ void setFocusOnQML();
public Q_SLOTS:
public Q_SLOTS:
@@
-81,6
+83,10
@@
public Q_SLOTS:
//! clears list
void clear();
//! clears list
void clear();
+ void bookmarkModeActive();
+
+ void setFocusOnElement();
+
protected:
#ifdef Q_WS_MAEMO_5
//! Reimplemented standard mouseReleaseEvent to check if user clicked on
protected:
#ifdef Q_WS_MAEMO_5
//! Reimplemented standard mouseReleaseEvent to check if user clicked on
@@
-126,6
+132,8
@@
private:
QHash<QString, QList<Translation*> > searchResult;
WordListProxyStyle* proxyStyle;
QHash<QString, QList<Translation*> > searchResult;
WordListProxyStyle* proxyStyle;
+ bool _isBookmarkModeActive;
+
#ifndef Q_WS_MAEMO_5
QVBoxLayout* verticalLayout;
QDeclarativeView* qmlView;
#ifndef Q_WS_MAEMO_5
QVBoxLayout* verticalLayout;
QDeclarativeView* qmlView;