Main Page | Class List | File List | Class Members | File Members | Related Pages

kwebsnapwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Bojan D.                                        *
00003  *   bojan_d@users.sourceforge.net                                         *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program 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         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 
00021 #ifndef KWEBSNAPWIDGET_H
00022 #define KWEBSNAPWIDGET_H
00023 
00033 #include <qpixmap.h>
00034 #include <qstring.h>
00035 
00036 #include "kwebsnapwidgetui.h"
00037 
00038 
00049 class KWebSnapWidget : public KWebSnapWidgetUI
00050 {
00051   Q_OBJECT
00052 
00053 public:
00054 
00061         KWebSnapWidget(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
00063         ~KWebSnapWidget();
00064   
00067         QPixmap preview();
00070         int previewWidth();
00073         int previewHeight();
00074   
00075 public slots:
00077   virtual void          slotHelp();
00079   virtual void          slotConfig();
00081   virtual void          slotQuit();
00083   virtual void          slotAbout();
00085   virtual void          slotStop();
00087   virtual void          slotStart();
00089   virtual void          slotSnapshot();
00092   virtual void                  setPreview( const QPixmap& pm );
00095   virtual void                  setLabel( const QString& text );
00098   virtual void                  setStop(bool enable);
00101   virtual void                  setStart(bool enable);
00104   virtual void                  setConfig(bool enable);
00105 
00106 protected:
00107   
00108 protected slots:
00109   
00110 };
00111 
00112 #endif
00113 

Generated on Mon Sep 5 12:52:34 2005 for kwebsnap.kdevelop by  doxygen 1.3.9.1