kdeui Library API Documentation

kbugreport.h

00001 /* This file is part of the KDE project 00002 Copyright (C) 1999 David Faure <faure@kde.org> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License as published by the Free Software Foundation; either 00007 version 2 of the License, or (at your option) any later version. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 Boston, MA 02111-1307, USA. 00018 */ 00019 #ifndef _KBUGREPORT_H__ 00020 #define _KBUGREPORT_H__ 00021 00022 #include <kdialogbase.h> 00023 00024 class QMultiLineEdit; 00025 class QLineEdit; 00026 class QHButtonGroup; 00027 class KProcess; 00028 class KAboutData; 00029 class KBugReportPrivate; 00030 00042 class KBugReport : public KDialogBase 00043 { 00044 Q_OBJECT 00045 public: 00052 KBugReport( QWidget * parent = 0L, bool modal=true, const KAboutData *aboutData = 0L ); 00056 virtual ~KBugReport(); 00057 00058 protected slots: 00062 virtual void slotConfigureEmail(); 00067 virtual void slotSetFrom(); 00071 virtual void slotUrlClicked(const QString &); 00075 virtual void slotOk( void ); 00079 virtual void slotCancel(); 00080 00084 void appChanged(int); 00088 void updateURL(); 00089 00090 protected: 00095 QString text() const; 00100 bool sendBugReport(); 00101 00102 KProcess * m_process; 00103 const KAboutData * m_aboutData; 00104 00105 QMultiLineEdit * m_lineedit; 00106 QLineEdit * m_subject; 00107 QLabel * m_from; 00108 QLabel * m_version; 00109 QString m_strVersion; 00110 QHButtonGroup * m_bgSeverity; 00111 QPushButton * m_configureEmail; 00112 00113 protected: 00114 virtual void virtual_hook( int id, void* data ); 00115 private: 00116 KBugReportPrivate *d; 00117 }; 00118 00119 #endif 00120
KDE Logo
This file is part of the documentation for kdeui Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 10 18:55:07 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003