mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 21:24:14 +00:00
f7ba7c8e9f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
35 lines
770 B
C
35 lines
770 B
C
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2001 The LyX Team.
|
|
*
|
|
* ======================================================
|
|
*
|
|
* \file ControlIndex.C
|
|
* \author Angus Leeming <a.leeming@ic.ac.uk>
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "ViewBase.h"
|
|
#include "ButtonControllerBase.h"
|
|
#include "ControlIndex.h"
|
|
#include "buffer.h"
|
|
#include "Dialogs.h"
|
|
#include "LyXView.h"
|
|
|
|
using SigC::slot;
|
|
|
|
ControlIndex::ControlIndex(LyXView & lv, Dialogs & d)
|
|
: ControlCommand(lv, d, LFUN_INDEX_INSERT)
|
|
{
|
|
d_.showIndex.connect(slot(this, &ControlIndex::showInset));
|
|
d_.createIndex.connect(slot(this, &ControlIndex::createInset));
|
|
}
|