/*************************************************************************** * Copyright 2007 Dukju Ahn * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef KDEVPLATFORM_PLUGIN_SVN_STATUSWIDGETS_H #define KDEVPLATFORM_PLUGIN_SVN_STATUSWIDGETS_H #include #include #include "ui_statusoptiondlg.h" class SvnStatusHolder; template class QMap; class KUrl; class SvnStatusOptionDlg : public KDialog { Q_OBJECT public: explicit SvnStatusOptionDlg( const KUrl &path, QWidget *parent = 0 ); ~SvnStatusOptionDlg(); SvnRevision revision(); bool recurse(); bool getAll(); bool contactRep(); bool noIgnore(); bool ignoreExternals(); private: Ui::SvnStatusOptionDlg ui; }; /////////////////////////////////////////////////////////////// class SvnStatusDisplayWidget : public QTreeWidget { Q_OBJECT public: explicit SvnStatusDisplayWidget( const KUrl& requestedUrl, bool contactRepository, QWidget *parent = 0 ); ~SvnStatusDisplayWidget(); void setResults( const QMap< KUrl, SvnStatusHolder > &map ); bool m_repContacted; KUrl m_reqUrl; }; #endif