~neon/kompare/master

« back to all changes in this revision

Viewing changes to src/komparepart/komparesaveoptionswidget.h

  • Committer: Friedrich W. H. Kossebau
  • Date: 2020-11-13 21:43:33 UTC
  • Revision ID: git-v1:79fce0df862602a8e2790d7d14f4037744a006f6
Reorganize sources into src/ subfolder

NO_CHANGELOG

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
                                komparesaveoptionswidget.h
 
3
                                --------------------------
 
4
        begin                   : Sun Mar 4 2001
 
5
        Copyright 2001-2003 Otto Bruggeman <otto.bruggeman@home.nl>
 
6
        Copyright 2001-2003 John Firebaugh <jfirebaugh@kde.org>
 
7
****************************************************************************/
 
8
 
 
9
/***************************************************************************
 
10
**
 
11
**   This program is free software; you can redistribute it and/or modify
 
12
**   it under the terms of the GNU General Public License as published by
 
13
**   the Free Software Foundation; either version 2 of the License, or
 
14
**   (at your option) any later version.
 
15
**
 
16
***************************************************************************/
 
17
 
 
18
#ifndef KOMPARESAVEOPTIONSWIDGET_H
 
19
#define KOMPARESAVEOPTIONSWIDGET_H
 
20
 
 
21
#include <libkomparediff2/kompare.h>
 
22
 
 
23
#include "komparesaveoptionsbase.h"
 
24
 
 
25
class DiffSettings;
 
26
class QButtonGroup;
 
27
 
 
28
class KompareSaveOptionsWidget : public KompareSaveOptionsBase
 
29
{
 
30
    Q_OBJECT
 
31
public:
 
32
    KompareSaveOptionsWidget(const QString& source, const QString& destination,
 
33
                             DiffSettings* settings, QWidget* parent);
 
34
    ~KompareSaveOptionsWidget() override;
 
35
 
 
36
    void      saveOptions();
 
37
    QString   directory() const;
 
38
 
 
39
protected Q_SLOTS:
 
40
    void      updateCommandLine();
 
41
 
 
42
private:
 
43
    void      loadOptions();
 
44
 
 
45
    DiffSettings*   m_settings;
 
46
    QString         m_source;
 
47
    QString         m_destination;
 
48
    QButtonGroup*   m_FormatBG;
 
49
};
 
50
 
 
51
#endif