File indexing completed on 2024-04-21 14:53:28

0001 //  -*- c-basic-offset:4; indent-tabs-mode:nil -*-
0002 /*
0003     This file is part of the KDE libraries
0004     SPDX-FileCopyrightText: 2006 Thiago Macieira <thiago@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-only
0007 */
0008 
0009 #ifndef KBOOKMARKMANAGERADAPTOR_H
0010 #define KBOOKMARKMANAGERADAPTOR_H
0011 
0012 #include <QDBusAbstractAdaptor>
0013 
0014 class KBookmarkManager;
0015 
0016 class KBookmarkManagerAdaptor : public QDBusAbstractAdaptor
0017 {
0018     Q_OBJECT
0019     Q_CLASSINFO("D-Bus Interface", "org.kde.KIO.KBookmarkManager")
0020 public:
0021     explicit KBookmarkManagerAdaptor(KBookmarkManager *parent);
0022 
0023 public Q_SLOTS:
0024     // Not used by KDE, but useful for scripts, after changing the bookmarks.xml file.
0025     void notifyCompleteChange();
0026 
0027 Q_SIGNALS:
0028     void bookmarkCompleteChange(const QString &caller);
0029 
0030     void bookmarksChanged(const QString &groupAddress);
0031 
0032     void bookmarkConfigChanged();
0033 };
0034 
0035 #endif