2006-03-05 17:24:44 +00:00
|
|
|
include $(top_srcdir)/config/common.am
|
|
|
|
include $(srcdir)/Makefile.dialogs
|
|
|
|
|
2006-05-18 09:37:35 +00:00
|
|
|
SUBDIRS = ui
|
|
|
|
|
|
|
|
EXTRA_DIST = pch.h Makefile.dialogs
|
|
|
|
|
2006-05-18 08:51:12 +00:00
|
|
|
DISTCLEANFILES += *_moc.cpp
|
|
|
|
|
|
|
|
libqt4_la_DEPENDENCIES = $(MOCEDFILES)
|
|
|
|
|
|
|
|
MOCEDFILES = $(MOCFILES:.C=_moc.cpp)
|
|
|
|
|
|
|
|
%_moc.cpp: %.h
|
|
|
|
$(MOC4) -o $@ $<
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(PCH_FILE) $(MOCEDFILES)
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libqt4.la
|
|
|
|
|
|
|
|
libqt4_la_LDFLAGS = $(QT4_LDFLAGS)
|
2006-05-18 08:51:12 +00:00
|
|
|
libqt4_la_LIBADD = $(QT4_LIB)
|
2006-03-05 17:24:44 +00:00
|
|
|
AM_CPPFLAGS += \
|
|
|
|
$(QT4_CPPFLAGS) \
|
|
|
|
$(PCH_FLAGS) \
|
|
|
|
-I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/frontends \
|
|
|
|
-I$(top_srcdir)/images \
|
|
|
|
$(QT4_INCLUDES) $(BOOST_INCLUDES) \
|
|
|
|
-I$(top_srcdir)/src/frontends/controllers
|
|
|
|
|
|
|
|
libqt4_la_SOURCES = \
|
|
|
|
Alert_pimpl.C \
|
2006-06-20 08:39:16 +00:00
|
|
|
Application.C Application.h \
|
2006-06-17 09:14:58 +00:00
|
|
|
ColorCache.h ColorCache.C \
|
2006-03-05 17:24:44 +00:00
|
|
|
Dialogs.C \
|
|
|
|
FileDialog.C \
|
2006-06-20 08:39:16 +00:00
|
|
|
FontLoader.h FontLoader.C \
|
|
|
|
GuiClipboard.h GuiClipboard.C \
|
Split clipboard and X selection
* src/LyXAction.C
(LyXAction::init): handle new LFUN_CLIPBOARD_PASTE
* src/insets/insettabular.C
(InsetTabular::doDispatch): ditto
* src/insets/insetbox.C
(InsetBox::doDispatch): ditto
* src/insets/insetert.C
(InsetERT::doDispatch): ditto
(InsetERT::getStatus): ditto
* src/insets/insetcharstyle.C
(InsetCharStyle::doDispatch): ditto
* src/BufferView_pimpl.C
(BufferView::Pimpl::selectionRequest): stuff selection, not clipboard
* src/mathed/math_nestinset.C
(MathNestInset::lfunMousePress): get stuff selection, not clipboard
(MathNestInset::lfunMouseRelease): clipboard -> selection in
commented code
* src/CutAndPaste.C
(cutSelection): ditto
* src/frontends/{qt3,gtk}/GuiImplementation.C
(GuiImplementation::newWorkArea): create new selection, not clipboard,
since the clipboard is now an object
(GuiImplementation::destroyWorkArea): destroy selection, not clipboard
* src/frontends/{qt4,qt3,gtk}/GuiSelection.h: new, copied from
GuiClipboard.h
* src/frontends/{qt4,qt3,gtk}/GuiSelection.C: new, copied from
GuiClipboard.C
* src/frontends/{qt3,gtk}/GuiImplementation.h
(selection): new accessor for selection_
(selection_): new, the global selection object
* src/frontends/{qt4,qt3,gtk}/Makefile.am: add GuiSelection.C and
GuiSelection.h
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.C
(GuiClipboard::get): return clipboard, not selection
(GuiClipboard::put): stuff clipboard, not selection
* src/frontends/{qt4,qt3,gtk}/GuiClipboard.h
(haveSelection): remove (this is now in GuiSelection)
* src/frontends/{qt3,gtk}/GuiClipboard.h
(old_work_area_): remove, since it is not needed anymore
* src/frontends/gtk/ghelpers.C
(getGTKStockIcon): handle LFUN_CLIPBOARD_PASTE
* src/frontends/Clipboard.h
(haveSelection): remove (this is now in Selection)
* src/frontends/qt4/GuiImplementation.[Ch]
(GuiImplementation::selection): new accessor for selection_
* src/frontends/Gui.h
(selection): New accessor for the global selection object
* src/frontends/Selection.h; new, copied from Clipboard.h
* src/frontends/Makefile.am: add Selection.h
* src/text3.C
(various): s/clipboard().haveSelection/selection().haveSelection/
(LyXText::dispatch): handle LFUN_CLIPBOARD_PASTE
(LyXText::getStatus): ditto
* src/lfuns.h: new lfun LFUN_CLIPBOARD_PASTE
* lib/ui/stdmenus.ui: add new lfun LFUN_CLIPBOARD_PASTE
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14408 a592a061-630c-0410-9148-cb99ea01b6c8
2006-07-10 11:32:25 +00:00
|
|
|
GuiSelection.h GuiSelection.C \
|
2006-06-20 08:39:16 +00:00
|
|
|
GuiImplementation.h GuiImplementation.C \
|
2006-03-05 17:24:44 +00:00
|
|
|
LyXKeySymFactory.C \
|
|
|
|
QLMenubar.C QLMenubar.h \
|
|
|
|
QAbout.C QAbout.h \
|
|
|
|
QBibitem.C QBibitem.h \
|
|
|
|
QBibtex.C QBibtex.h \
|
|
|
|
QBox.C QBox.h \
|
|
|
|
QBranch.C QBranch.h \
|
|
|
|
QBranches.C QBranches.h \
|
|
|
|
QChanges.C QChanges.h \
|
|
|
|
QCharacter.C QCharacter.h \
|
|
|
|
QCitation.C QCitation.h \
|
|
|
|
QDocument.C QDocument.h \
|
2006-06-20 08:39:16 +00:00
|
|
|
QDialogView.C QDialogView.h \
|
2006-03-05 17:24:44 +00:00
|
|
|
QErrorList.C QErrorList.h \
|
|
|
|
QERT.C QERT.h \
|
|
|
|
QExternal.C QExternal.h \
|
|
|
|
QFloat.C QFloat.h \
|
|
|
|
QGraphics.C QGraphics.h \
|
|
|
|
QInclude.C QInclude.h \
|
|
|
|
QIndex.C QIndex.h \
|
|
|
|
QLImage.C QLImage.h \
|
|
|
|
QLog.C QLog.h \
|
2006-04-15 14:13:41 +00:00
|
|
|
QViewSource.C QViewSource.h \
|
2006-03-05 17:24:44 +00:00
|
|
|
QLPainter.C QLPainter.h \
|
|
|
|
QLyXKeySym.C QLyXKeySym.h \
|
|
|
|
QMath.C QMath.h \
|
|
|
|
QNote.C QNote.h \
|
|
|
|
QParagraph.C QParagraph.h \
|
|
|
|
QPrefs.C QPrefs.h \
|
|
|
|
QPrint.C QPrint.h \
|
|
|
|
QRef.C QRef.h \
|
|
|
|
QSearch.C QSearch.h \
|
|
|
|
QSendto.C QSendto.h \
|
|
|
|
QShowFile.C QShowFile.h \
|
|
|
|
QSpellchecker.C QSpellchecker.h \
|
|
|
|
QTabular.C QTabular.h \
|
|
|
|
QTabularCreate.C QTabularCreate.h \
|
|
|
|
QTexinfo.C QTexinfo.h \
|
|
|
|
QThesaurus.C QThesaurus.h \
|
|
|
|
QToc.C QToc.h \
|
|
|
|
QVSpace.C QVSpace.h \
|
|
|
|
QWrap.C QWrap.h \
|
|
|
|
Qt2BC.C Qt2BC.h \
|
|
|
|
checkedwidgets.C checkedwidgets.h \
|
|
|
|
lyx_gui.C \
|
|
|
|
panelstack.h panelstack.C \
|
|
|
|
qfontexample.h qfontexample.C \
|
|
|
|
qfont_metrics.C \
|
|
|
|
qlkey.h \
|
|
|
|
qt_helpers.h qt_helpers.C \
|
2006-06-20 08:39:16 +00:00
|
|
|
qtTimeout.C qtTimeout.h \
|
2006-06-28 12:09:25 +00:00
|
|
|
UrlView.C UrlView.h \
|
2006-03-05 17:24:44 +00:00
|
|
|
$(MOCFILES)
|