lib

KoPageLayoutHeader.h
1/* This file is part of the KDE project
2 * Copyright (C) 2005 Thomas Zander <zander@kde.org>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; version 2.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Library General Public License for more details.
12 *
13 * You should have received a copy of the GNU Library General Public License
14 * along with this library; see the file COPYING.LIB. If not, write to
15 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
17 */
18
19#ifndef kopagelayoutheader_h
20#define kopagelayoutheader_h
21
22#include <KoUnit.h>
23#include <KoPageLayout.h>
24#include <KoPageLayoutHeaderBase.h>
25
26class TQWidget;
28class KoPagePreview;
29
33class KoPageLayoutHeader : public KoPageLayoutHeaderBase {
34 TQ_OBJECT
35
36
37public:
44 KoPageLayoutHeader(TQWidget *parent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf);
49
50private:
51 KoUnitDoubleSpinBox *m_headerSpacing, *m_footerSpacing, *m_footnoteSpacing;
52
53 KoKWHeaderFooter m_headerFooters;
54};
55
56#endif
57
KoPageLayoutHeader(TQWidget *parent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf)
Contructor.
const KoKWHeaderFooter & headerFooter()
KoPagePreview.
Spin box for double precision numbers with unit display.
Unit
Length units supported by KOffice.
Definition KoUnit.h:63
structure for KWord header-footer