kdeui Library API Documentation

kdialogbase_priv.h

00001 /* 00002 * This file is part of the KDE Libraries 00003 * Copyright (C) 1999-2001 Mirko Boehm (mirko@kde.org) and 00004 * Espen Sand (espen@kde.org) 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public License 00017 * along with this library; see the file COPYING.LIB. If not, write to 00018 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00019 * Boston, MA 02111-1307, USA. 00020 * 00021 */ 00022 #ifndef _KDIALOG_BASE_PRIV_H_ 00023 #define _KDIALOG_BASE_PRIV_H_ 00024 00025 #include <kpushbutton.h> 00026 00031 class KDialogBaseButton : public KPushButton 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 KDialogBaseButton( const KGuiItem &text, int key, QWidget *parent=0, 00037 const char *name=0 ); 00038 inline int id(); 00039 00040 private: 00041 int mKey; 00042 }; 00043 00048 class KDialogBaseTile : public QObject 00049 { 00050 Q_OBJECT 00051 00052 public: 00053 KDialogBaseTile( QObject *parent=0, const char *name=0 ); 00054 ~KDialogBaseTile(); 00055 00056 void set( const QPixmap *pix ); 00057 const QPixmap *get() const; 00058 00059 public slots: 00060 void cleanup(); 00061 00062 signals: 00063 void pixmapChanged(); 00064 00065 private: 00066 QPixmap *mPixmap; 00067 class KDialogBaseTilePrivate; 00068 KDialogBaseTilePrivate *d; 00069 }; 00070 00071 #endif
KDE Logo
This file is part of the documentation for kdeui Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Oct 8 11:14:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003