KFile
kfileplacessharedbookmarks_p.h
Go to the documentation of this file.
00001 /* This file is part of the KDE project 00002 Copyright (C) 2008 Norbert Frese <nf2@scheinwelt.at> 00003 00004 This library is free software; you can redistribute it and/or 00005 modify it under the terms of the GNU Library General Public 00006 License version 2 as published by the Free Software Foundation. 00007 00008 This library is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 Library General Public License for more details. 00012 00013 You should have received a copy of the GNU Library General Public License 00014 along with this library; see the file COPYING.LIB. If not, write to 00015 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00016 Boston, MA 02110-1301, USA. 00017 00018 */ 00019 00020 #ifndef KFILEPLACESSHAREDBOOKMARKS_P_H 00021 #define KFILEPLACESSHAREDBOOKMARKS_P_H 00022 00023 #include <QtCore/QObject> 00024 #include <kbookmarkmanager.h> 00025 00030 class KFilePlacesSharedBookmarks : public QObject 00031 { 00032 Q_OBJECT 00033 public: 00034 00035 KFilePlacesSharedBookmarks(KBookmarkManager * mgr); 00036 ~KFilePlacesSharedBookmarks() { /* delete m_sharedBookmarkManager; */} 00037 00038 private: 00039 00040 bool integrateSharedBookmarks(); 00041 bool exportSharedBookmarks(); 00042 00043 KBookmarkManager *m_placesBookmarkManager; 00044 KBookmarkManager *m_sharedBookmarkManager; 00045 00046 private Q_SLOTS: 00047 00048 void slotSharedBookmarksChanged(); 00049 void slotBookmarksChanged(); 00050 00051 }; 00052 00053 00054 00055 00056 #endif /*KFILEPLACESSHARED_P_H_*/
KDE 4.6 API Reference