~ubuntu-branches/ubuntu/saucy/kate/saucy

« back to all changes in this revision

Viewing changes to kate/plugins/katesql/exportwizard.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell, Rohan Garg, Jonathan Riddell
  • Date: 2013-06-21 00:48:29 UTC
  • mfrom: (1.1.28)
  • Revision ID: package-import@ubuntu.com-20130621004829-y2ui02eg0j47h94y
Tags: 4:4.10.80-0ubuntu1
[ Rohan Garg ]
* New upstream release
  - Update and sort install files
  - Drop kubuntu_pate_find_python.diff, kubuntu_kate_initial_preference.patch,
    kubuntu_find_python.diff from debian/patches , not required

[ Jonathan Riddell ]
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
   Copyright (C) 2010  Marco Mentasti  <marcomentasti@gmail.com>
3
 
 
4
 
   This library is free software; you can redistribute it and/or
5
 
   modify it under the terms of the GNU Library General Public
6
 
   License version 2 as published by the Free Software Foundation.
7
 
 
8
 
   This library is distributed in the hope that it will be useful,
9
 
   but WITHOUT ANY WARRANTY; without even the implied warranty of
10
 
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11
 
   Library General Public License for more details.
12
 
 
13
 
   You should have received a copy of the GNU Library General Public License
14
 
   along with this library; see the file COPYING.LIB.  If not, write to
15
 
   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
 
   Boston, MA 02110-1301, USA.
17
 
*/
18
 
 
19
 
#ifndef EXPORTWIZARD_H
20
 
#define EXPORTWIZARD_H
21
 
 
22
 
 
23
 
class KUrlRequester;
24
 
class KLineEdit;
25
 
 
26
 
class QRadioButton;
27
 
class QCheckBox;
28
 
 
29
 
#include <qwizard.h>
30
 
 
31
 
class ExportWizard : public QWizard
32
 
{
33
 
  public:
34
 
    ExportWizard(QWidget *parent);
35
 
    ~ExportWizard();
36
 
};
37
 
 
38
 
 
39
 
class ExportOutputPage : public QWizardPage
40
 
{
41
 
  public:
42
 
    ExportOutputPage(QWidget *parent=0);
43
 
 
44
 
    void initializePage();
45
 
    virtual bool validatePage();
46
 
 
47
 
  private:
48
 
    QRadioButton *documentRadioButton;
49
 
    QRadioButton *clipboardRadioButton;
50
 
    QRadioButton *fileRadioButton;
51
 
    KUrlRequester *fileUrl;
52
 
};
53
 
 
54
 
class ExportFormatPage : public QWizardPage
55
 
{
56
 
  public:
57
 
    ExportFormatPage(QWidget *parent=0);
58
 
 
59
 
    void initializePage();
60
 
    virtual bool validatePage();
61
 
 
62
 
  private:
63
 
    QCheckBox *exportColumnNamesCheckBox;
64
 
    QCheckBox *exportLineNumbersCheckBox;
65
 
    QCheckBox *quoteStringsCheckBox;
66
 
    QCheckBox *quoteNumbersCheckBox;
67
 
    KLineEdit *quoteStringsLine;
68
 
    KLineEdit *quoteNumbersLine;
69
 
    KLineEdit *fieldDelimiterLine;
70
 
};
71
 
 
72
 
#endif // EXPORTWIZARD_H