kde-workspace/kcontrol/icons/main.h

55 lines
1.3 KiB
C
Raw Normal View History

2014-11-15 03:14:34 +02:00
/*
* main.h
*
* Copyright (c) 1999 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
*
* Requires the Qt widget libraries, available at no cost at
* http://www.troll.no/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __MAIN_H__
#define __MAIN_H__
#include <QTabWidget>
#include <kcmodule.h>
class IconModule : public KCModule
{
Q_OBJECT
2014-11-15 03:14:34 +02:00
public:
IconModule(QWidget *parent, const QVariantList &);
2014-11-15 03:14:34 +02:00
void load();
void save();
void defaults();
QString quickHelp() const;
2014-11-15 03:14:34 +02:00
protected Q_SLOTS:
void moduleChanged(bool state);
2014-11-15 03:14:34 +02:00
private:
QTabWidget *tab;
2014-11-15 03:14:34 +02:00
KCModule *tab1;
KCModule *tab2;
2014-11-15 03:14:34 +02:00
};
#endif