• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

Plasma

faviconprovider.h

Go to the documentation of this file.
00001 /*
00002  *   Copyright (C) 2007 Tobias Koenig <tokoe@kde.org>
00003  *   Copyright (C) 2008 Marco Martin <notmart@gmail.com>
00004  *
00005  *   This program is free software; you can redistribute it and/or modify
00006  *   it under the terms of the GNU Library General Public License version 2 as
00007  *   published by 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 Library General Public
00016  *   License along with this program; if not, write to the
00017  *   Free Software Foundation, Inc.,
00018  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  */
00020 
00021 #ifndef FAVICONPROVIDER_H
00022 #define FAVICONPROVIDER_H
00023 
00024 #include <QtCore/QObject>
00025 
00026 class QImage;
00027 
00031 class FaviconProvider : public QObject
00032 {
00033     Q_OBJECT
00034 
00035     public:
00041         FaviconProvider( QObject *parent, const QString &url);
00042 
00046         ~FaviconProvider();
00047 
00054         QImage image() const;
00055 
00059         QString identifier() const;
00060 
00061     Q_SIGNALS:
00068         void finished( FaviconProvider *provider );
00069 
00075         void error( FaviconProvider *provider );
00076 
00077     private:
00078       QString m_url;
00079 
00080       class Private;
00081       Private* const d;
00082 
00083       Q_PRIVATE_SLOT( d, void imageRequestFinished(KJob *job) )
00084 };
00085 
00086 #endif

Plasma

Skip menu "Plasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal