00001 /* 00002 KSysGuard, the KDE System Guard 00003 00004 Copyright (c) 1999 Chris Schlaeger <cs@kde.org> 00005 00006 This program is free software; you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation; either version 2 of the License, or 00009 (at your option) any later version. 00010 00011 This program is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with this program; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00019 00020 KSysGuard is currently maintained by Chris Schlaeger <cs@kde.org>. Please do 00021 not commit any changes without consulting me first. Thanks! 00022 00023 */ 00024 00025 #ifndef _ReniceDlg_h_ 00026 #define _ReniceDlg_h_ 00027 00028 #include <kdialogbase.h> 00029 #include <tqlabel.h> 00030 #include <tqlayout.h> 00031 #include <tqlcdnumber.h> 00032 #include <tqpushbutton.h> 00033 #include <tqslider.h> 00034 00035 class KIntNumInput; 00036 00041 class ReniceDlg : public KDialogBase 00042 { 00043 Q_OBJECT 00044 00045 public: 00046 ReniceDlg(TQWidget* parent, const char* name, int currentPPrio, int pid); 00047 00048 public slots: 00049 void slotOk(); 00050 void slotCancel(); 00051 00052 private: 00053 TQBoxLayout* vLay; 00054 TQBoxLayout* butLay; 00055 TQBoxLayout* sldLay; 00056 00057 TQLabel* message; 00058 KIntNumInput* input; 00059 }; 00060 00061 #endif
1.6.1