Don't keep compiling/run if something failed.
[kdevelopdvcssupport.git] / plugins / cvs / checkoutdialog.h
blob0495aa885cc5b797df32b67e4028d64dc539ac15
1 /***************************************************************************
2 * Copyright 2007 Robert Gruber <rgruber@users.sourceforge.net> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 ***************************************************************************/
11 #ifndef CHECKOUTDIALOG_H
12 #define CHECKOUTDIALOG_H
14 #include <QDialog>
16 #include <KJob>
17 #include <KUrl>
19 #include "ui_checkoutdialog.h"
21 class CvsPlugin;
23 /**
24 * Allows the user to define from where to checkout
25 * @author Robert Gruber <rgruber@users.sourceforge.net>
27 class CheckoutDialog : public KDialog, private Ui::CheckoutDialogBase
29 Q_OBJECT
30 public:
31 explicit CheckoutDialog(CvsPlugin* plugin, QWidget *parent=0);
32 virtual ~CheckoutDialog();
34 public slots:
35 virtual void accept();
36 void jobFinished(KJob* job);
38 private:
39 CvsPlugin* m_plugin;
42 #endif