kdgantt

KDGanttSizingControl.h
1/*
2 $Id$
3*/
4/****************************************************************************
5 ** Copyright (C) 2002-2004 Klarälvdalens Datakonsult AB. All rights reserved.
6 **
7 ** This file is part of the KDGantt library.
8 **
9 ** This file may be distributed and/or modified under the terms of the
10 ** GNU General Public License version 2 as published by the Free Software
11 ** Foundation and appearing in the file LICENSE.GPL included in the
12 ** packaging of this file.
13 **
14 ** Licensees holding valid commercial KDGantt licenses may use this file in
15 ** accordance with the KDGantt Commercial License Agreement provided with
16 ** the Software.
17 **
18 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
19 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 **
21 ** See http://www.klaralvdalens-datakonsult.se/Public/products/ for
22 ** information about KDGantt Commercial License Agreements.
23 **
24 ** Contact info@klaralvdalens-datakonsult.se if any conditions of this
25 ** licensing are not clear to you.
26 **
27 ** As a special exception, permission is given to link this program
28 ** with any edition of TQt, and distribute the resulting executable,
29 ** without including the source code for TQt in the source distribution.
30 **
31 **********************************************************************/
32
33#ifndef KDGANTTSIZINGCONTROL_H
34#define KDGANTTSIZINGCONTROL_H
35
36#include <tqwidget.h>
37
38class KDGanttSizingControl : public TQWidget
39{
40 TQ_OBJECT
41
42
43public:
44 bool isMinimized() const;
45
46protected:
47 KDGanttSizingControl( TQWidget* parent = 0, const char* name = 0, WFlags f = 0 );
48
49public slots:
50 virtual void minimize( bool minimize );
51 virtual void restore( bool restore );
52 void changeState();
53
54signals:
57
58private:
59 bool _isMinimized;
60};
61
62
63#endif
virtual void minimize(bool minimize)
virtual void restore(bool restore)
void restored(KDGanttSizingControl *)
KDGanttSizingControl(TQWidget *parent=0, const char *name=0, WFlags f=0)
void minimized(KDGanttSizingControl *)