summaryrefslogtreecommitdiffstats
path: root/kiosktool/desktopComponent.h
diff options
context:
space:
mode:
Diffstat (limited to 'kiosktool/desktopComponent.h')
-rw-r--r--kiosktool/desktopComponent.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/kiosktool/desktopComponent.h b/kiosktool/desktopComponent.h
new file mode 100644
index 0000000..189f4f2
--- /dev/null
+++ b/kiosktool/desktopComponent.h
@@ -0,0 +1,50 @@
+/*
+ * desktopComponent.h
+ *
+ * Copyright (C) 2004 Waldo Bastian <bastian@kde.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+#ifndef _DESKTOPCOMPONENT_H_
+#define _DESKTOPCOMPONENT_H_
+
+#include "component.h"
+
+#include <qstringlist.h>
+#include <qtimer.h>
+
+class DesktopComponent: public Component
+{
+ Q_OBJECT
+public:
+ DesktopComponent( QObject *parent = 0);
+ virtual ~DesktopComponent();
+
+ virtual bool setupFinished();
+
+public slots:
+
+ virtual void slotSetupPrepare();
+ virtual void slotSetupStarted();
+
+protected slots:
+ void slotSetupReady();
+
+private:
+ QTimer m_timer;
+ QString m_iconPositionsFile;
+ QStringList m_origDesktopFiles;
+};
+
+#endif