• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

  • lib
  • interfaces
kdevmainwindow.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2003 F@lk Brettschneider <falkbr@kdevelop.org>
3  Copyright (C) 2003 John Firebaugh <jfirebaugh@kde.org>
4  Copyright (C) 2003 Amilcar do Carmo Lucas <amilcar@ida.ing.tu-bs.de>
5  Copyright (C) 2004 Alexander Dymo <adymo@kdevelop.org>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
22 #ifndef KDEV_MAINWINDOW_H
23 #define KDEV_MAINWINDOW_H
24 
25 #include <tqstring.h>
26 
27 class TQWidget;
28 class KStatusBar;
29 class TDEMainWindow;
30 
40 class KDevMainWindow
41 {
42 public:
44  virtual ~KDevMainWindow() {} // must be virtual!
45 
50  virtual void embedPartView(TQWidget *view, const TQString &title, const TQString& toolTip = TQString()) = 0;
51 
56  virtual void embedSelectView(TQWidget *view, const TQString &title, const TQString &toolTip) = 0;
57 
62  virtual void embedOutputView(TQWidget *view, const TQString &title, const TQString &toolTip) = 0;
63 
68  virtual void embedSelectViewRight(TQWidget* view, const TQString& title, const TQString &toolTip) = 0;
69 
72  virtual void removeView(TQWidget *view) = 0;
73 
77  virtual void setViewAvailable(TQWidget *pView, bool bEnabled) = 0;
78 
81  virtual void raiseView(TQWidget *view) = 0;
82 
85  virtual void lowerView(TQWidget *view) = 0;
86 
88  virtual void loadSettings() = 0;
89 
92  virtual void setCurrentDocumentCaption( const TQString &caption ) = 0;
93 
95  virtual TDEMainWindow *main() = 0;
96 
98  KStatusBar *statusBar();
99 };
100 
101 #endif
KDevMainWindow::removeView
virtual void removeView(TQWidget *view)=0
Removes a view from the main window.
KDevMainWindow::setCurrentDocumentCaption
virtual void setCurrentDocumentCaption(const TQString &caption)=0
Sets the current document&#39;s caption, if applicable.
KDevMainWindow::lowerView
virtual void lowerView(TQWidget *view)=0
Minimize a view.
KDevMainWindow::~KDevMainWindow
virtual ~KDevMainWindow()
Destroys the main window.
Definition: kdevmainwindow.h:44
KDevMainWindow::embedOutputView
virtual void embedOutputView(TQWidget *view, const TQString &title, const TQString &toolTip)=0
Embeds a toolview at the bottom of the main window.
KDevMainWindow
KDevelop main window interface.
Definition: kdevmainwindow.h:40
KDevMainWindow::loadSettings
virtual void loadSettings()=0
Loads main window settings.
KDevMainWindow::embedSelectView
virtual void embedSelectView(TQWidget *view, const TQString &title, const TQString &toolTip)=0
Embeds a toolview at the left of the main window.
KDevMainWindow::embedSelectViewRight
virtual void embedSelectViewRight(TQWidget *view, const TQString &title, const TQString &toolTip)=0
Embeds a toolview at the right of the main window.
KDevMainWindow::embedPartView
virtual void embedPartView(TQWidget *view, const TQString &title, const TQString &toolTip=TQString())=0
Embeds a view of a part into the main window.
KDevMainWindow::main
virtual TDEMainWindow * main()=0
KDevMainWindow::setViewAvailable
virtual void setViewAvailable(TQWidget *pView, bool bEnabled)=0
Shows or hides a view.
KDevMainWindow::statusBar
KStatusBar * statusBar()
Definition: kdevmainwindow.cpp:25
KDevMainWindow::raiseView
virtual void raiseView(TQWidget *view)=0
Raises a view (shows it if it was minimized).

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.