mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 19:02:53 +00:00
57 lines
1.7 KiB
C++
57 lines
1.7 KiB
C++
/***************************************************************************
|
|
* Copyright 2007 Dukju Ahn <dukjuahn@gmail.com> *
|
|
* *
|
|
* 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 <kdialog.h>
|
|
#include <QTreeWidget>
|
|
#include "ui_statusoptiondlg.h"
|
|
|
|
class SvnStatusHolder;
|
|
template <typename T1, typename T2> 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
|