summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kpartsaver/kpartsaver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver/kpartsaver/kpartsaver.h')
-rw-r--r--kscreensaver/kpartsaver/kpartsaver.h103
1 files changed, 0 insertions, 103 deletions
diff --git a/kscreensaver/kpartsaver/kpartsaver.h b/kscreensaver/kpartsaver/kpartsaver.h
deleted file mode 100644
index 8784f0b1..00000000
--- a/kscreensaver/kpartsaver/kpartsaver.h
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- * Copyright (C) 2001 Stefan Schimanski <1Stein@gmx.de>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library 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
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library 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 KPARTSAVER_H_INCLUDED
-#define KPARTSAVER_H_INCLUDED
-
-
-#include <tqwidget.h>
-#include <tqtimer.h>
-#include <tqstring.h>
-#include <tqvaluelist.h>
-#include <tqdialog.h>
-#include <tqpushbutton.h>
-#include <tqradiobutton.h>
-#include <tqspinbox.h>
-#include <tqcheckbox.h>
-#include <tqlabel.h>
-
-#include <klocale.h>
-#include <kapplication.h>
-#include <kdebug.h>
-#include <kconfig.h>
-#include <kfiledialog.h>
-#include <kurl.h>
-#include <kparts/part.h>
-#include <ktrader.h>
-#include <kio/jobclasses.h>
-#include <kio/job.h>
-#include <kmimetype.h>
-
-#include <kscreensaver.h>
-
-#include "configwidget.h"
-
-
-class SaverConfig : public ConfigWidget {
-Q_OBJECT
-
-
- public:
- SaverConfig( TQWidget* parent = 0, const char* name = 0 );
- ~SaverConfig();
-
- protected slots:
- void apply();
- void add();
- void remove();
- void select();
- void up();
- void down();
-};
-
-
-class KPartSaver : public KScreenSaver {
-Q_OBJECT
-
-
- public:
- KPartSaver( WId id=0 );
- virtual ~KPartSaver();
-
- public slots:
- void next( bool random );
- void queue( KURL url );
- void timeout();
- void closeURL();
-
- protected:
- struct Medium {
- KURL url;
- bool failed;
- };
-
- bool openURL( KURL url );
-
- TQValueList<Medium> m_media;
- TQTimer *m_timer;
- KParts::ReadOnlyPart *m_part;
- int m_current;
-
- bool m_single;
- bool m_random;
- int m_delay;
- TQStringList m_files;
- TQLabel *m_back;
-};
-
-#endif