[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project
Macros
klfsearchbar.cpp File Reference
#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"
Include dependency graph for klfsearchbar.cpp:

Go to the source code of this file.

Macros

#define DECLARE_SEARCH_SHORTCUT(shortcut, parent, slotmember)
 

Macro Definition Documentation

#define DECLARE_SEARCH_SHORTCUT (   shortcut,
  parent,
  slotmember 
)
Value:
{ 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().


Generated by doxygen 1.8.6