[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project

src/klftools/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.

Defines

#define DECLARE_SEARCH_SHORTCUT(shortcut, parent, slotmember)


Define Documentation

#define DECLARE_SEARCH_SHORTCUT ( shortcut,
parent,
slotmember   ) 

Value:

{ QShortcut *s = new QShortcut(parent); s->setKey(QKeySequence(shortcut)); \
    connect(s, SIGNAL(activated()), this, slotmember); }

For internal use only.

Definition at line 193 of file klfsearchbar.cpp.

Referenced by KLFSearchBar::registerShortcuts().


Generated by doxygen 1.5.6