~ubuntu-branches/ubuntu/oneiric/herculesstudio/oneiric

« back to all changes in this revision

Viewing changes to HercUtilities/Dasdcopy.h

  • Committer: Bazaar Package Importer
  • Author(s): Liang Guo
  • Date: 2011-04-10 02:47:38 UTC
  • Revision ID: james.westby@ubuntu.com-20110410024738-f61r77k8v33h5a63
Tags: upstream-1.2.0
ImportĀ upstreamĀ versionĀ 1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  File:       Dasdcopy.h
 
3
 *
 
4
 *  Author:     Jacob Dekel
 
5
 *  Created on: Aug 7, 2009
 
6
 *
 
7
 *  Copyright (c) 2009 Jacob Dekel
 
8
 *  $Id: Dasdcopy.h 34 2009-11-07 06:15:58Z jacob $
 
9
 *
 
10
 *      Dasdcopy utility object
 
11
 *
 
12
 *  This program is free software: you can redistribute it and/or modify
 
13
 *  it under the terms of the GNU General Public License as published by
 
14
 *  the Free Software Foundation, either version 3 of the License, or
 
15
 *  (at your option) any later version.
 
16
 *
 
17
 *  This program is distributed in the hope that it will be useful,
 
18
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
19
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
20
 *  GNU General Public License for more details.
 
21
 *
 
22
 *  You should have received a copy of the GNU General Public License
 
23
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
24
 *
 
25
 */
 
26
 
 
27
#ifndef DASDCOPY_H
 
28
#define DASDCOPY_H
 
29
 
 
30
#include <QtGui/QDialog>
 
31
#include "ui_Dasdcopy.h"
 
32
 
 
33
class Dasdcopy : public QDialog
 
34
{
 
35
    Q_OBJECT
 
36
 
 
37
public:
 
38
    Dasdcopy(QWidget *parent = 0);
 
39
    ~Dasdcopy();
 
40
 
 
41
signals:
 
42
    void output(QString line);
 
43
 
 
44
private:
 
45
    Ui::DasdcopyClass ui;
 
46
    int mPid;
 
47
    bool mFirstEndReceived;
 
48
 
 
49
    void reset();
 
50
 
 
51
private slots:
 
52
    void runClicked();
 
53
    void exitClicked();
 
54
    void browseFileClicked();
 
55
    void browseShadowClicked();
 
56
    void browseOutClicked();
 
57
    void runnerMaximumChanged(int maximum);
 
58
    void runnerValueChanged(int value);
 
59
    void runnerError(const QString& errorLine);
 
60
};
 
61
 
 
62
#endif // DASDCOPY_H