• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kate
 

kate

  • kate
  • app
katetabwidget.h
1/* This file is part of the KDE project
2 Copyright (C) 2005 Christoph Cullmann <cullmann@kde.org>
3 Copyright (C) 2002,2003 Joseph Wenninger <jowenn@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef __KATE_TABWIDGET_H__
21#define __KATE_TABWIDGET_H__
22
23#include <ktabwidget.h>
24
25class KateTabWidget : public KTabWidget
26{
27 TQ_OBJECT
28
29 public:
30 enum TabWidgetVisibility {
31 AlwaysShowTabs = 0,
32 ShowWhenMoreThanOneTab = 1,
33 NeverShowTabs = 2
34 };
35
36 public:
37 KateTabWidget(TQWidget* parent, const char* name=0);
38 virtual ~KateTabWidget();
39
40 virtual void addTab ( TQWidget * child, const TQString & label );
41
42 virtual void addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label );
43
44 virtual void addTab ( TQWidget * child, TQTab * tab );
45
46 virtual void insertTab ( TQWidget * child, const TQString & label, int index = -1 );
47
48 virtual void insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index = -1 );
49
50 virtual void insertTab ( TQWidget * child, TQTab * tab, int index = -1 );
51
52 virtual void removePage ( TQWidget * w );
53
54 TabWidgetVisibility tabWidgetVisibility() const;
55
56 void setTabWidgetVisibility( TabWidgetVisibility );
57
58 private slots:
59 void closeTab(TQWidget* w);
60
61 private:
62 void maybeShow();
63 void setCornerWidgetVisibility(bool visible);
64
65 private:
66 TabWidgetVisibility m_visibility;
67};
68
69#endif

kate

Skip menu "kate"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kate

Skip menu "kate"
  • kate
  • libkonq
  • twin
  •   lib
Generated for kate by doxygen 1.9.4
This website is maintained by Timothy Pearson.