add more spacing
[personal-kdebase.git] / workspace / libs / ksysguard / processui / DisplayProcessDlg.h
blob9ae8438c1dacd2a64b7926dbb56f4a95210d23e8
1 /*
2 KSysGuard, the KDE System Guard
4 Copyright (c) 2008 John Tapsell <tapsell@kde.org>
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Library General Public
8 License as published by the Free Software Foundation; either
9 version 2 of the License, or (at your option) any later version.
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details.
16 You should have received a copy of the GNU Library General Public License
17 along with this library; see the file COPYING.LIB. If not, write to
18 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 Boston, MA 02110-1301, USA.
23 #ifndef _DisplayProcessDlg_h_
24 #define _DisplayProcessDlg_h_
26 #include <kdialog.h>
27 #include <kprocess.h>
28 #include "processes.h"
30 class Ui_DisplayProcessUi;
32 class DisplayProcessDlg : public KDialog
34 Q_OBJECT
36 public:
37 DisplayProcessDlg(QWidget* parent, KSysGuard::Process *process);
38 ~DisplayProcessDlg();
39 /** Returns the default size of the dialog. Reimplmentation from QDialog */
40 virtual QSize sizeHint() const;
42 public Q_SLOTS:
43 /** Close button has been clicked. Reimplementation from KDialog */
44 virtual void slotButtonClicked(int);
45 void slotBtnPause(bool pause);
46 void slotBtnDetach(bool detach);
48 private:
49 Ui_DisplayProcessUi *ui;
52 #endif