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