~ubuntu-branches/ubuntu/natty/kdeadmin/natty-proposed

« back to all changes in this revision

Viewing changes to lilo-config/qt/standalone.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-02-27 21:36:45 UTC
  • mfrom: (1.2.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20100227213645-ronst6mahkgf6j9w
Tags: 4:4.4.1-0ubuntu1
* New upstream release
  - Bump build-depends
  - Update kcron.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* standalone.h
2
 
**
3
 
** Copyright (C) 2000,2001 by Bernhard Rosenkraenzer
4
 
**
5
 
*/
6
 
 
7
 
/*
8
 
** This program is free software; you can redistribute it and/or modify
9
 
** it under the terms of the GNU General Public License as published by
10
 
** the Free Software Foundation; either version 2 of the License, or
11
 
** (at your option) any later version.
12
 
**
13
 
** This program is distributed in the hope that it will be useful,
14
 
** but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
 
** GNU General Public License for more details.
17
 
**
18
 
** You should have received a copy of the GNU General Public License
19
 
** along with this program in a file called COPYING; if not, write to
20
 
** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21
 
** MA 02110-1301, USA.
22
 
*/
23
 
 
24
 
/*
25
 
** Bug reports and questions can be sent to <kde-devel@kde.org>
26
 
*/
27
 
 
28
 
#ifndef _STANDALONE_H_
29
 
#define _STANDALONE_H_ 1
30
 
#include <QWidget>
31
 
#include <QPushButton>
32
 
#include <qhbuttongroup.h>
33
 
#include <qevent.h>
34
 
#include "mainwidget.h"
35
 
 
36
 
class Standalone: public QWidget
37
 
{
38
 
        Q_OBJECT
39
 
public:
40
 
        explicit Standalone(QWidget *parent=0, const char *name=0);
41
 
        void resizeEvent(QResizeEvent *e);
42
 
public slots:
43
 
        void whatsthis();
44
 
        void help();
45
 
        void defaults();
46
 
        void reset();
47
 
        void apply();
48
 
        void ok();
49
 
        void cancel();
50
 
        void configChanged();
51
 
signals:
52
 
        void done();
53
 
private:
54
 
        void arrangeWidgets();
55
 
        MainWidget *m;
56
 
        QHButtonGroup *actions;
57
 
        QPushButton *_whatsthis;
58
 
        QPushButton *_help;
59
 
        QPushButton *_deflt;
60
 
        QPushButton *_reset;
61
 
        QPushButton *_apply;
62
 
        QPushButton *_ok;
63
 
        QPushButton *_cancel;
64
 
};
65
 
#endif