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., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 * 00021 */ 00022 #ifndef _KDIALOG_BASE_PRIV_H_ 00023 #define _KDIALOG_BASE_PRIV_H_ 00024 00025 #include <kpushbutton.h> 00026 00031 class KDEUI_EXPORT KDialogBaseButton : public KPushButton 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 KDialogBaseButton( const KGuiItem &text, int key, TQWidget *parent=0, 00037 const char *name=0 ); 00038 inline int id(); 00039 00040 private: 00041 int mKey; 00042 }; 00043 00048 class KDEUI_EXPORT KDialogBaseTile : public TQObject 00049 { 00050 Q_OBJECT 00051 00052 public: 00053 KDialogBaseTile( TQObject *parent=0, const char *name=0 ); 00054 ~KDialogBaseTile(); 00055 00056 void set( const TQPixmap *pix ); 00057 const TQPixmap *get() const; 00058 00059 public slots: 00060 void cleanup(); 00061 00062 signals: 00063 void pixmapChanged(); 00064 00065 private: 00066 TQPixmap *mPixmap; 00067 class KDialogBaseTilePrivate; 00068 KDialogBaseTilePrivate *d; 00069 }; 00070 00071 #endif