• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

kompare

  • sources
  • kde-4.14
  • kdesdk
  • kompare
  • libdialogpages
filespage.h
Go to the documentation of this file.
1 /***************************************************************************
2  kcompareurldialog.h
3  -------------------
4  begin : Sun Mar 4 2001
5  Copyright 2001-2004 Otto Bruggeman <otto.bruggeman@home.nl>
6  Copyright 2001-2003 John Firebaugh <jfirebaugh@kde.org>
7  Copyright 2007 Kevin Kofler <kevin.kofler@chello.at>
8 ****************************************************************************/
9 
10 /***************************************************************************
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 2 of the License, or
15 ** (at your option) any later version.
16 **
17 ***************************************************************************/
18 
19 #ifndef FILESPAGE_H
20 #define FILESPAGE_H
21 
22 #include "pagebase.h"
23 #include "dialogpagesexport.h"
24 
25 class QGroupBox;
26 
27 class KComboBox;
28 class KUrlComboBox;
29 class KUrlRequester;
30 
31 class FilesSettings;
32 
33 class DIALOGPAGES_EXPORT FilesPage : public PageBase
34 {
35 Q_OBJECT
36 public:
37  FilesPage();
38  virtual ~FilesPage();
39 
40 public:
41  KUrlRequester* firstURLRequester() const;
42  KUrlRequester* secondURLRequester() const;
43 
44  QString encoding() const;
45 
46  void setFirstGroupBoxTitle ( const QString& title );
47  void setSecondGroupBoxTitle( const QString& title );
48 
49  void setURLsInComboBoxes();
50 
51  void setFirstURLRequesterMode( unsigned int mode );
52  void setSecondURLRequesterMode( unsigned int mode );
53 
54 public:
55  virtual void setSettings( FilesSettings* settings );
56  virtual void restore();
57  virtual void apply();
58  virtual void setDefaults();
59 
60 private:
61  QGroupBox* m_firstGB;
62  QGroupBox* m_secondGB;
63  QGroupBox* m_thirdGB;
64  KUrlComboBox* m_firstURLComboBox;
65  KUrlComboBox* m_secondURLComboBox;
66  KUrlRequester* m_firstURLRequester;
67  KUrlRequester* m_secondURLRequester;
68  // Use this bool to lock the connection between both KUrlRequesters.
69  // This prevents annoying behaviour
70  bool m_URLChanged;
71  KComboBox* m_encodingComboBox;
72 
73  FilesSettings* m_settings;
74 };
75 
76 #endif
pagebase.h
PageBase::setDefaults
virtual void setDefaults()
No descriptions.
Definition: pagebase.cpp:100
FilesSettings
Definition: filessettings.h:29
QGroupBox
PageBase::apply
virtual void apply()
No descriptions.
Definition: pagebase.cpp:88
QString
PageBase
Definition: pagebase.h:27
dialogpagesexport.h
FilesPage
Definition: filespage.h:33
DIALOGPAGES_EXPORT
#define DIALOGPAGES_EXPORT
Definition: dialogpagesexport.h:32
PageBase::restore
virtual void restore()
No descriptions.
Definition: pagebase.cpp:94
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kompare

Skip menu "kompare"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal