summaryrefslogtreecommitdiffstats
path: root/tderadio3/src/include/widgetplugins.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2022-05-30 19:40:31 +0900
committerSlávek Banko <slavek.banko@axis.cz>2022-05-30 21:55:12 +0200
commit9d7329284fd42187092c829ae6ed030561002776 (patch)
tree1d53503d17938eca725caee7ff783fccf52ca509 /tderadio3/src/include/widgetplugins.h
parentfac82f62f156c76cb4b23c313111283b30a778b5 (diff)
downloadtderadio-9d7329284fd42187092c829ae6ed030561002776.tar.gz
tderadio-9d7329284fd42187092c829ae6ed030561002776.zip
Standardize folder structure.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d95a4fea540b371fa86493d069fdbd54f33c5b40)
Diffstat (limited to 'tderadio3/src/include/widgetplugins.h')
-rw-r--r--tderadio3/src/include/widgetplugins.h75
1 files changed, 0 insertions, 75 deletions
diff --git a/tderadio3/src/include/widgetplugins.h b/tderadio3/src/include/widgetplugins.h
deleted file mode 100644
index 69bb0bf..0000000
--- a/tderadio3/src/include/widgetplugins.h
+++ /dev/null
@@ -1,75 +0,0 @@
-/***************************************************************************
- widgetplugins.h - description
- -------------------
- begin : Mi Aug 27 2003
- copyright : (C) 2003 by Martin Witte
- email : witte@kawo1.rwth-aachen.de
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * 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. *
- * *
- ***************************************************************************/
-
-#ifndef KRADIO_WIDGETPLUGINS_INTERFACES_H
-#define KRADIO_WIDGETPLUGINS_INTERFACES_H
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include "plugins.h"
-
-class TQWidget;
-
-class WidgetPluginBase : public PluginBase
-{
-public :
- WidgetPluginBase(const TQString &name, const TQString &description);
-
- virtual void saveState (TDEConfig *) const;
- virtual void restoreState (TDEConfig *);
- virtual void restoreState (TDEConfig *, bool showByDefault);
- virtual void startPlugin();
-
- virtual TQWidget *getWidget() = 0;
- virtual const TQWidget *getWidget() const = 0;
-
- virtual bool isReallyVisible(const TQWidget *w = NULL) const;
- virtual bool isAnywhereVisible(const TQWidget *w = NULL) const;
- virtual void showOnOrgDesktop () = 0;
-
-protected:
- virtual void pShowOnOrgDesktop ();
- virtual void pShow ();
- virtual void pShow (bool show);
- virtual void pHide ();
- virtual void pToggleShown ();
-
- virtual void pShowEvent(TQShowEvent *);
- virtual void pHideEvent(TQHideEvent *);
-
- virtual void notifyManager(bool shown);
-
- virtual void getKWinState(const TQWidget *w = NULL) const;
-
-protected:
- // temporary data
- mutable bool m_geoCacheValid;
- mutable bool m_saveMinimized;
- mutable bool m_saveMaximized;
- mutable bool m_saveSticky;
- mutable int m_saveDesktop;
- mutable TQRect m_saveGeometry;
-
- bool m_geoRestoreFlag;
- bool m_restoreShow;
-};
-
-
-
-#endif