# kdeui Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# 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
    00081   // app combo changed
    00082   void appChanged(int);
    00083   void updateURL();
    00084
    00085 protected:
    00086   QString text() const;
    00087   bool sendBugReport();
    00088
    00089   KProcess * m_process;
    00090   const KAboutData * m_aboutData;
    00091
    00092   QMultiLineEdit * m_lineedit;
    00093   QLineEdit * m_subject;
    00094   QLabel * m_from;
    00095   QLabel * m_version;
    00096   QString m_strVersion;
    00097   QHButtonGroup * m_bgSeverity;
    00098   QPushButton * m_configureEmail;
    00099
    00100 protected:
    00101   virtual void virtual_hook( int id, void* data );
    00102 private:
    00103   KBugReportPrivate *d;
    00104 };
    00105
    00106 #endif
    00107

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 12:56:13 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001