diff options
author | Timothy Pearson <[email protected]> | 2012-04-05 22:01:03 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-04-05 22:01:03 -0500 |
commit | 0d6bebc5f5bacd360dcee8f58b93ae3c99028c75 (patch) | |
tree | b3936440d248b4f628b9e6c42f0f2b0deaacf793 /kcontrol/hwmanager/devicepropsdlg.h | |
parent | 3a36b8dd807011ce65b758c7ea18226324565f59 (diff) | |
download | tdebase-0d6bebc5f5bacd360dcee8f58b93ae3c99028c75.tar.gz tdebase-0d6bebc5f5bacd360dcee8f58b93ae3c99028c75.zip |
Add rudimentary device manager to kcontrol
Diffstat (limited to 'kcontrol/hwmanager/devicepropsdlg.h')
-rw-r--r-- | kcontrol/hwmanager/devicepropsdlg.h | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/kcontrol/hwmanager/devicepropsdlg.h b/kcontrol/hwmanager/devicepropsdlg.h new file mode 100644 index 000000000..30c69b1a7 --- /dev/null +++ b/kcontrol/hwmanager/devicepropsdlg.h @@ -0,0 +1,57 @@ +/* This file is part of TDE + Copyright (C) 2012 Timothy Pearson <[email protected]> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ +#ifndef __devicepropsdlg_h__ +#define __devicepropsdlg_h__ + +// #include <tqt.h> + +#include <kdialogbase.h> + +#include <tdehardwaredevices.h> + +/** + * + * Dialog to view and edit hardware device properties + * + * @version 0.1 + * @author Timothy Pearson <[email protected]> + */ + +class TDEUI_EXPORT DevicePropertiesDialog : public KDialogBase +{ + Q_OBJECT +public: + /** + * Create a dialog that allows a user to view and edit hardware device properties + * @param parent Parent widget for the line edit dialog + */ + DevicePropertiesDialog(TDEGenericDevice* device, TQWidget *parent); + virtual ~DevicePropertiesDialog(); + +protected: + virtual void virtual_hook( int id, void* data ); + +private: + TDEGenericDevice* m_device; + + class DevicePropertiesDialogPrivate; + DevicePropertiesDialogPrivate* d; +}; + +#endif |