#include <QDebug>#include <QObject>#include <QFrame>#include <QLineEdit>#include <QEvent>#include <QKeyEvent>#include <QShortcut>#include <QKeySequence>#include <QTime>#include <klfguiutil.h>#include <ui_klfsearchbar.h>#include "klfsearchbar.h"
Go to the source code of this file.
Defines | |
| #define | DECLARE_SEARCH_SHORTCUT(shortcut, parent, slotmember) |
| #define DECLARE_SEARCH_SHORTCUT | ( | shortcut, | |
| parent, | |||
| slotmember | |||
| ) |
{ QShortcut *s = new QShortcut(parent); s->setKey(QKeySequence(shortcut)); \
connect(s, SIGNAL(activated()), this, slotmember); }
Definition at line 193 of file klfsearchbar.cpp.
Referenced by KLFSearchBar::registerShortcuts().