KIO
joburlcache_p.h
Go to the documentation of this file.
00001 /***************************************************************************** 00002 * This file is part of the KDE libraries * 00003 * Copyright (C) 2009 by Shaun Reich <shaun.reich@kdemail.net> * 00004 * * 00005 * This library is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU Lesser General Public License as published * 00007 * by the Free Software Foundation; either version 2 of the License or (at * 00008 * 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 Lesser General Public License * 00016 * along with this library; see the file COPYING.LIB. * 00017 * If not, see <http://www.gnu.org/licenses/>. * 00018 *****************************************************************************/ 00019 00020 #ifndef JOBURLCACHE_H 00021 #define JOBURLCACHE_H 00022 00023 #include <QObject> 00024 #include <QStringList> 00025 00026 class JobUrlCache : public QObject 00027 { 00028 Q_OBJECT 00029 public: 00030 static JobUrlCache& instance(); 00031 00032 void requestJobUrlsChanged(); 00033 00034 Q_SIGNALS: 00035 void jobUrlsChanged(QStringList); 00036 00037 private Q_SLOTS: 00042 void slotJobUrlsChanged(QStringList urlList); 00043 00044 private: 00045 JobUrlCache(); 00046 virtual ~JobUrlCache(); 00047 00048 QStringList m_destUrls; 00049 00050 friend class JobUrlCacheSingleton; 00051 }; 00052 00053 #endif // JOBURLCACHE_H
KDE 4.6 API Reference