kjots
kjotsbookmarks.h
Go to the documentation of this file.00001 // 00002 // kjotsbookmarks 00003 // 00004 // Copyright (C) 1997 Christoph Neerfeld <Christoph.Neerfeld@home.ivm.de> 00005 // Copyright (C) 2002, 2003 Aaron J. Seigo <aseigo@kde.org> 00006 // Copyright (C) 2003 Stanislav Kljuhhin <crz@hot.ee> 00007 // Copyright (C) 2005-2006 Jaison Lee <lee.jaison@gmail.com> 00008 // 00009 // This program is free software; you can redistribute it and/or modify 00010 // it under the terms of the GNU General Public License as published by 00011 // the Free Software Foundation; either version 2 of the License, or 00012 // (at your option) any later version. 00013 // 00014 // This program is distributed in the hope that it will be useful, 00015 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 // GNU General Public License for more details. 00018 // 00019 // You should have received a copy of the GNU General Public License 00020 // along with this program; if not, write to the Free Software 00021 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00022 // 00023 00024 #ifndef KJOTSBOOKMARKS 00025 #define KJOTSBOOKMARKS 00026 00027 #include <kbookmarkmanager.h> 00028 00029 class Bookshelf; 00030 00031 class KJotsBookmarks : public QObject, public KBookmarkOwner 00032 { 00033 Q_OBJECT 00034 00035 public: 00036 explicit KJotsBookmarks(Bookshelf* shelf); 00037 ~KJotsBookmarks(); 00038 00039 virtual QString currentUrl() const; 00040 virtual QString currentTitle() const; 00041 virtual void openBookmark(const KBookmark & bm, Qt::MouseButtons mb, Qt::KeyboardModifiers km); 00042 00043 private: 00044 Bookshelf *bookshelf; 00045 }; 00046 00047 #endif 00048 /* ex: set tabstop=4 softtabstop=4 shiftwidth=4 expandtab: */ 00049 /* kate: tab-indents off; replace-tabs on; tab-width 4; remove-trailing-space on; encoding utf-8;*/
KDE 4.0 API Reference