File indexing completed on 2024-04-21 16:17:09

0001 /*
0002 *  Copyright 2016  Smith AR <audoban@openmailbox.org>
0003 *                  Michail Vourlakos <mvourlakos@gmail.com>
0004 *
0005 *  This file is part of Latte-Dock
0006 *
0007 *  Latte-Dock is free software; you can redistribute it and/or
0008 *  modify it under the terms of the GNU General Public License as
0009 *  published by the Free Software Foundation; either version 2 of
0010 *  the License, or (at your option) any later version.
0011 *
0012 *  Latte-Dock is distributed in the hope that it will be useful,
0013 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
0014 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0015 *  GNU General Public License for more details.
0016 *
0017 *  You should have received a copy of the GNU General Public License
0018 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
0019 */
0020 
0021 #ifndef LATTEPACKAGE_H
0022 #define LATTEPACKAGE_H
0023 
0024 // Qt
0025 #include <QObject>
0026 
0027 // KDE
0028 #include <KPackage/PackageStructure>
0029 
0030 namespace Latte {
0031 class Package : public KPackage::PackageStructure
0032 {
0033     Q_OBJECT
0034 
0035 public:
0036     explicit Package(QObject *parent = 0, const QVariantList &args = QVariantList());
0037 
0038     ~Package() override;
0039     void initPackage(KPackage::Package *package) override;
0040     void pathChanged(KPackage::Package *package) override;
0041 };
0042 
0043 }
0044 #endif // LATTEPACKAGE_H