• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libkonq
 

libkonq

  • libkonq
konq_bgnddlg.h
1 /* This file is part of the KDE project
2  Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
3  Copyright (c) 1999 David Faure <fauren@kde.org>
4 
5  This library is free software; you can redistribute it and/or
6  modify it under the terms of the GNU Library General Public
7  License as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 
21 #ifndef __konq_bgnd_h
22 #define __konq_bgnd_h
23 
24 #include <tqstring.h>
25 #include <tqpixmap.h>
26 
27 #include <kdialogbase.h>
28 
29 class KColorButton;
30 class KURLRequester;
31 class TQButtonGroup;
32 class TQRadioButton;
33 
38 class KonqBgndDialog : public KDialogBase
39 {
40  Q_OBJECT
41 public:
45  KonqBgndDialog( TQWidget* parent, const TQString& pixmapFile,
46  const TQColor& theColor, const TQColor& defaultColor );
47  ~KonqBgndDialog();
48 
49  TQColor color() const;
50  const TQString& pixmapFile() const { return m_pixmapFile; }
51 
52 private slots:
53  void slotBackgroundModeChanged();
54  void slotPictureChanged();
55  void slotColorChanged();
56 
57 private:
58  void initPictures();
59  void loadPicture( const TQString& fileName );
60 
61  TQColor m_color;
62  TQPixmap m_pixmap;
63  TQString m_pixmapFile;
64  TQFrame* m_preview;
65 
66  TQButtonGroup* m_buttonGroup;
67  TQRadioButton* m_radioColor;
68  TQRadioButton* m_radioPicture;
69  KURLRequester* m_comboPicture;
70  KColorButton* m_buttonColor;
71 
72 };
73 
74 #endif

libkonq

Skip menu "libkonq"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

libkonq

Skip menu "libkonq"
  • kate
  • libkonq
  • twin
  •   lib
Generated for libkonq by doxygen 1.8.1.2
This website is maintained by Timothy Pearson.