toolbars.h
author insilmaril
Wed Sep 06 12:47:06 2006 +0000 (2006-09-06)
changeset 379 a62478df8d46
permissions -rw-r--r--
1.8.55 New history window and showtextwindow
insilmaril@13
     1
#ifndef TOOLBARS_H
insilmaril@13
     2
#define TOOLBARS_H
insilmaril@13
     3
insilmaril@13
     4
#include <QToolBar>
insilmaril@13
     5
insilmaril@13
     6
#include "settings.h"
insilmaril@13
     7
insilmaril@13
     8
class ToolBar:public QToolBar
insilmaril@13
     9
{
insilmaril@13
    10
	Q_OBJECT
insilmaril@13
    11
insilmaril@13
    12
public:
insilmaril@13
    13
	void loadSettings (const Settings &);
insilmaril@13
    14
	void saveSettings (const Settings &);
insilmaril@13
    15
insilmaril@13
    16
private:
insilmaril@13
    17
};
insilmaril@13
    18
insilmaril@13
    19
/////////////////////////////////////////////////////////////////////////////
insilmaril@13
    20
class ToolBarSet
insilmaril@13
    21
{
insilmaril@13
    22
public:
insilmaril@13
    23
	ToolBarSet();
insilmaril@13
    24
	void loadSettings(const Settings &);	
insilmaril@13
    25
	void saveSettings(const Settings &);	
insilmaril@13
    26
	void add (QToolBar *);
insilmaril@13
    27
private:
insilmaril@13
    28
	QList <ToolBar*> list;
insilmaril@13
    29
};
insilmaril@13
    30
insilmaril@13
    31
#endif