diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 114a878c64ce6f8223cfd22d76a20eb16d177e5e (patch) | |
tree | acaf47eb0fa12142d3896416a69e74cbf5a72242 /parts/valgrind/valgrind_dialog.h | |
download | tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.tar.gz tdevelop-114a878c64ce6f8223cfd22d76a20eb16d177e5e.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/valgrind/valgrind_dialog.h')
-rw-r--r-- | parts/valgrind/valgrind_dialog.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/parts/valgrind/valgrind_dialog.h b/parts/valgrind/valgrind_dialog.h new file mode 100644 index 00000000..41c25afc --- /dev/null +++ b/parts/valgrind/valgrind_dialog.h @@ -0,0 +1,62 @@ + +#ifndef _VALGRIND_DIALOG_H_ +#define _VALGRIND_DIALOG_H_ + +#include <kdialogbase.h> + +class KURLRequester; +class DialogWidget; + +/** + * + * Harald Fernengel + **/ +class ValgrindDialog : public KDialogBase +{ + Q_OBJECT +public: + enum Type { Memcheck = 0, Calltree = 1 }; + + ValgrindDialog( Type type, QWidget* parent = 0 ); + ~ValgrindDialog(); + + // the app to check + QString executableName() const; + void setExecutable( const QString& url ); + + // command line parameters for the app + QString parameters() const; + void setParameters( const QString& params ); + + // name and/or path to the valgrind executable + QString valExecutable() const; + void setValExecutable( const QString& ve ); + + // command line parameters for valgrind + QString valParams() const; + void setValParams( const QString& params ); + + // name and/or path to the calltree executable + QString ctExecutable() const; + void setCtExecutable( const QString& ce ); + + // command line parameters for calltree + QString ctParams() const; + void setCtParams( const QString& params ); + + // name and/or path to the kcachegrind executable + QString kcExecutable() const; + void setKcExecutable( const QString& ke ); + +protected: + bool isNewValgrindVersion() const; + +private: + DialogWidget *w; + Type m_type; + private slots: + void valgrindTextChanged(); + +}; + +#endif |