blob: b1e630f353b875fd86e7303feda00d2e90ad15a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/***************************************************************************
* Copyright (C) 2003 by Mario Scalas *
* mario.scalas@libero.it *
* *
* 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 __DIFFDIALOG_H
#define __DIFFDIALOG_H
#include "diffdialogbase.h"
#include "cvsentry.h"
/**
* Implementation for a dialog which collects data for diff operation
*
* @author Mario Scalas
*/
class DiffDialog : public DiffDialogBase
{
TQ_OBJECT
public:
DiffDialog(const CVSEntry &entry, TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
virtual ~DiffDialog();
TQString revA() const;
TQString revB() const;
private:
enum DiffType { diffLocalBASE, diffLocalHEAD, diffLocalOther, diffArbitrary };
DiffType requestedDiff() const;
CVSEntry m_entry;
protected slots:
virtual void languageChange();
};
#endif // __DIFFDIALOG_H
|