X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FToolbar.h;h=66a016935a2cbc914f2078fc8f7b902d49c5ba4d;hb=c5058bffd88b5eb000ffd11d5729fbec0f34fb0f;hp=ba08defd0ab1cda0e5397f321077fb9d60e47493;hpb=d590a912e8b8fb54080d7b40b333a790504a97a6;p=lyx.git diff --git a/src/frontends/Toolbar.h b/src/frontends/Toolbar.h index ba08defd0a..66a016935a 100644 --- a/src/frontends/Toolbar.h +++ b/src/frontends/Toolbar.h @@ -1,15 +1,13 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== +/** + * \file Toolbar.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor - * Copyright 1995 Matthias Ettrich - * Copyright 1995-2001 The LyX Team. + * \author Lars Gullik Bjønnes * - * This file is Copyright 1996-2001 - * Lars Gullik Bjønnes - * - * ====================================================== */ + * Full author contact details are available in file CREDITS + */ #ifndef TOOLBAR_H #define TOOLBAR_H @@ -22,7 +20,7 @@ class LyXView; class ToolbarDefaults; -class Dialogs; + /** The LyX GUI independent toolbar class The GUI interface is implemented in the corresponding Toolbar_pimpl class. @@ -30,24 +28,11 @@ class Dialogs; class Toolbar { public: /// - Toolbar(LyXView * o, Dialogs & d, - int x, int y, ToolbarDefaults const &); + Toolbar(LyXView * o, int x, int y, ToolbarDefaults const &); /// ~Toolbar(); - /// (re)sets the toolbar - void set(bool doingmain = false); - - /** this is to be the entry point to the toolbar - frame, where you can change the toolbar realtime. */ - void edit(); - /// add a new button to the toolbar. - void add(int , bool doclean = true); - /// name of func instead of kb_action - void add(string const & , bool doclean = true); - /// invokes the n'th icon in the toolbar - void push(int); /// update the state of the icons void update();