KDevelop API Documentation

valgrind_dialog.h

Go to the documentation of this file.
00001  
00002 #ifndef _VALGRIND_DIALOG_H_
00003 #define _VALGRIND_DIALOG_H_
00004 
00005 #include <kdialogbase.h>
00006 
00007 class KURLRequester;
00008 class DialogWidget;
00009 
00014 class ValgrindDialog : public KDialogBase
00015 {
00016     Q_OBJECT
00017 public:
00018   enum Type { Memcheck = 0, Calltree = 1 };
00019     
00020   ValgrindDialog( Type type, QWidget* parent = 0 );
00021   ~ValgrindDialog();
00022 
00023   // the app to check
00024   QString executableName() const;
00025   void setExecutable( const QString& url );
00026 
00027   // command line parameters for the app
00028   QString parameters() const;
00029   void setParameters( const QString& params );
00030 
00031   // name and/or path to the valgrind executable
00032   QString valExecutable() const;
00033   void setValExecutable( const QString& ve );
00034 
00035   // command line parameters for valgrind
00036   QString valParams() const;
00037   void setValParams( const QString& params );
00038   
00039   // name and/or path to the calltree executable
00040   QString ctExecutable() const;
00041   void setCtExecutable( const QString& ce );
00042   
00043   // command line parameters for calltree
00044   QString ctParams() const;
00045   void setCtParams( const QString& params );
00046 
00047   // name and/or path to the kcachegrind executable
00048   QString kcExecutable() const;
00049   void setKcExecutable( const QString& ke );
00050         
00051 private:
00052   DialogWidget *w;
00053   Type m_type;
00054   private slots:
00055       void valgrindTextChanged();
00056 
00057 };
00058 
00059 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:42 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003