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

libkonq

konq_bgnddlg.h

00001 /* This file is part of the KDE project
00002    Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
00003    Copyright (c) 1999 David Faure <fauren@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018    Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef __konq_bgnd_h
00022 #define __konq_bgnd_h
00023 
00024 #include <tqstring.h>
00025 #include <tqpixmap.h>
00026 
00027 #include <kdialogbase.h>
00028 
00029 class KColorButton;
00030 class KURLRequester;
00031 class TQButtonGroup;
00032 class TQRadioButton;
00033 
00038 class KonqBgndDialog : public KDialogBase
00039 {
00040   Q_OBJECT
00041 public:
00045   KonqBgndDialog( TQWidget* parent, const TQString& pixmapFile,
00046                   const TQColor& theColor, const TQColor& defaultColor );
00047   ~KonqBgndDialog();
00048 
00049   TQColor color() const;
00050   const TQString& pixmapFile() const { return m_pixmapFile; }
00051 
00052 private slots:
00053   void slotBackgroundModeChanged();
00054   void slotPictureChanged();
00055   void slotColorChanged();
00056   
00057 private:
00058   void initPictures();
00059   void loadPicture( const TQString& fileName );
00060 
00061   TQColor m_color;
00062   TQPixmap m_pixmap;
00063   TQString m_pixmapFile;
00064   TQFrame* m_preview;
00065   
00066   TQButtonGroup* m_buttonGroup;
00067   TQRadioButton* m_radioColor;
00068   TQRadioButton* m_radioPicture;
00069   KURLRequester* m_comboPicture;
00070   KColorButton* m_buttonColor;
00071   
00072 };
00073 
00074 #endif

libkonq

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

libkonq

Skip menu "libkonq"
  • kate
  • kwin
  •   lib
  • libkonq
Generated for libkonq by doxygen 1.5.6
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |