summaryrefslogtreecommitdiffstats
path: root/kmdi/kmdidockcontainer.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:21 -0600
commitdfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (patch)
treec297348a55df66c571de4525646e0b9762427353 /kmdi/kmdidockcontainer.h
parentb7658a0d5eca24a9d37c6e04f88298ef02389db0 (diff)
downloadtdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.tar.gz
tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'kmdi/kmdidockcontainer.h')
-rw-r--r--kmdi/kmdidockcontainer.h167
1 files changed, 0 insertions, 167 deletions
diff --git a/kmdi/kmdidockcontainer.h b/kmdi/kmdidockcontainer.h
deleted file mode 100644
index 8dfe6664b..000000000
--- a/kmdi/kmdidockcontainer.h
+++ /dev/null
@@ -1,167 +0,0 @@
- /* This file is part of the KDE project
- Copyright (C) 2002 Christoph Cullmann <cullmann@kde.org>
- Copyright (C) 2002,2003 Joseph Wenninger <jowenn@kde.org>
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2 as published by the Free Software Foundation.
-
- This library 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 library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-#ifndef _KMDI_DOCK_CONTAINER_
-#define _KMDI_DOCK_CONTAINER_
-
-#include <tqwidget.h>
-#include <tqstringlist.h>
-#include <kdockwidget.h>
-#include <tqmap.h>
-#include <tqdom.h>
-
-# include <kdockwidget_p.h>
-
-#include <tqpushbutton.h>
-
-class TQWidgetStack;
-class KMultiTabBar;
-class KDockButton_Private;
-
-class KMDI_EXPORT KMdiDockContainer: public TQWidget, public KDockContainer
-{
- Q_OBJECT
-
-public:
- KMdiDockContainer( TQWidget *parent, TQWidget *win, int position, int flags );
- virtual ~KMdiDockContainer();
-
- /** Get the KDockWidget that is our parent */
- KDockWidget *parentDockWidget();
-
- /**
- * Add a widget to this container
- * \param w the KDockWidget we are adding
- */
- virtual void insertWidget ( KDockWidget *w, TQPixmap, const TQString &, int & );
-
- /**
- * Show a widget.
- *
- * The widget has to belong to this container otherwise
- * it will not be shown
- * \param w the KDockWidget to show
- */
- virtual void showWidget ( KDockWidget *w );
-
- /**
- * Set the tooltip for the widget.
- * Currently, this method does nothing
- */
- virtual void setToolTip ( KDockWidget *, TQString & );
-
- /**
- * Set the pixmap for the widget.
- */
- virtual void setPixmap( KDockWidget* widget, const TQPixmap& pixmap );
-
- /**
- * Undock the widget from the container.
- */
- virtual void undockWidget( KDockWidget* dwdg );
-
- /**
- * Remove a widget from the container. The caller of this function
- * is responsible for deleting the widget
- */
- virtual void removeWidget( KDockWidget* );
-
- /**
- * Hide the the dock container if the number of items is 0
- */
- void hideIfNeeded();
-
- /**
- * Save the config using a TDEConfig object
- *
- * The combination of the group_or_prefix variable and the parent
- * dockwidget's name will be the group the configuration is saved in
- * \param group_or_prefix the prefix to append to the parent dockwidget's name
- */
- virtual void save( TDEConfig *, const TQString& group_or_prefix );
-
- /**
- * Load the config using a TDEConfig object
- *
- * The combination of the group_or_prefix variable and the parent
- * dockwidget's name will be the group the configuration is loaded from
- * \param group_or_prefix the prefix to append to the parent dockwidget's name
- */
- virtual void load( TDEConfig *, const TQString& group_or_prefix );
-
- /**
- * Save the config to a QDomElement
- */
- virtual void save( TQDomElement& );
-
- /**
- * Load the config from a QDomElement
- */
- virtual void load( TQDomElement& );
-
- /**
- * Set the style for the tabbar
- */
- void setStyle( int );
-
-protected:
- bool eventFilter( TQObject*, TQEvent* );
-
-public slots:
- void init();
- void collapseOverlapped();
- void toggle();
- void nextToolView();
- void prevToolView();
-protected slots:
- void tabClicked( int );
- void delayedRaise();
- void changeOverlapMode();
-private:
- TQWidget *m_mainWin;
- TQWidgetStack *m_ws;
- KMultiTabBar *m_tb;
- int mTabCnt;
- int oldtab;
- int m_previousTab;
- int m_position;
- int m_separatorPos;
- TQMap<KDockWidget*, int> m_map;
- TQMap<int, KDockWidget*> m_revMap;
- TQMap<KDockWidget*, KDockButton_Private*> m_overlapButtons;
- TQStringList itemNames;
- TQMap<TQString, TQString> tabCaptions;
- TQMap<TQString, TQString> tabTooltips;
- int m_inserted;
- int m_delayedRaise;
- bool m_horizontal;
- bool m_block;
- bool m_tabSwitching;
- TQObject *m_dragPanel;
- KDockManager *m_dockManager;
- TQMouseEvent *m_startEvent;
- enum MovingState {NotMoving = 0, WaitingForMoveStart, Moving} m_movingState;
-signals:
- void activated( KMdiDockContainer* );
- void deactivated( KMdiDockContainer* );
-};
-
-#endif
-
-// kate: space-indent off; tab-width 4; replace-tabs off; indent-mode csands;