lib

Koversiondialog.h
1/* This file is part of the KDE project
2 Copyright (C) 2005 Laurent Montel <montel@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; either
7 version 2 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
18*/
19
20#ifndef __VERSION_DIALOG__
21#define __VERSION_DIALOG__
22
23#include <kdialogbase.h>
24
25class TQPushButton;
26class TQToolButton;
27class TDEListView;
28class TQMultiLineEdit;
29
30class KoVersionDialog : public KDialogBase
31{
32 TQ_OBJECT
33
34public:
35 KoVersionDialog( TQWidget* parent, const char* name = 0L );
36 ~KoVersionDialog();
37
38public slots:
39 virtual void slotOk();
40 void slotRemove();
41 void slotAdd();
42 void slotOpen();
43 void slotModify();
44
45protected:
46
47 void init();
48 void updateButton();
49
50 TDEListView * list;
51 TQPushButton* m_pRemove;
52 TQPushButton* m_pAdd;
53 TQPushButton* m_pOpen;
54 TQPushButton* m_pModify;
55};
56
57class KoVersionModifyDialog : public KDialogBase
58{
59 TQ_OBJECT
60
61public:
62 KoVersionModifyDialog( TQWidget* parent, const TQString &_comment = TQString() , const char* name = 0L );
63
64 TQString comment() const;
65
66private:
67 TQMultiLineEdit *m_multiline;
68};
69
70#endif
virtual void slotOk()