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

kparts

  • kparts
mainwindow.h
1 /* This file is part of the KDE project
2  Copyright (C) 1999 Simon Hausmann <hausmann@kde.org>
3  (C) 1999 David Faure <faure@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 as published by the Free Software Foundation; either
8  version 2 of the License, or (at your option) any later version.
9 
10  This library is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Library General Public License for more details.
14 
15  You should have received a copy of the GNU Library General Public License
16  along with this library; see the file COPYING.LIB. If not, write to
17  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  Boston, MA 02110-1301, USA.
19 */
20 #ifndef __MAINWINDOW_H
21 #define __MAINWINDOW_H
22 
23 #include <tqptrlist.h>
24 #include <kaction.h>
25 
26 #include <kmainwindow.h>
27 
28 #include <kparts/part.h>
29 
30 class TQString;
31 
32 namespace KParts
33 {
34 
35 class MainWindowPrivate;
36 
47 class KPARTS_EXPORT MainWindow : public KMainWindow, virtual public PartBase
48 {
49  Q_OBJECT
50  public:
54 #ifdef qdoc
55  MainWindow( TQWidget* parent, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose );
56 #else
57  MainWindow( TQWidget* parent, const char *name = 0L, WFlags f = (WFlags)(WType_TopLevel | WDestructiveClose) );
58 #endif
59 
62 #ifdef qdoc
63  MainWindow( const char *name = 0L, WFlags f = WDestructiveClose );
64 #else
65  MainWindow( const char *name = 0L, WFlags f = (WFlags)WDestructiveClose );
66 #endif
67 
71 #ifdef qdoc
72  MainWindow( int cflags, TQWidget* parent, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose );
73 #else
74  MainWindow( int cflags, TQWidget* parent, const char *name = 0L, WFlags f = (WFlags)(WType_TopLevel | WDestructiveClose) );
75 #endif
76 
79  virtual ~MainWindow();
80 
81 protected slots:
82 
93  void createGUI( KParts::Part * part );
94 
100  virtual void slotSetStatusBarText( const TQString & );
101 
108  void saveNewToolbarConfig();
109 
110 protected:
111  virtual void createShellGUI( bool create = true );
112 
113 private:
114  MainWindowPrivate *d;
115 };
116 
117 }
118 
119 #endif
120 
KParts::Part
Base class for parts.
Definition: part.h:181
KParts::MainWindow
A KPart-aware main window, whose user interface is described in XML.
Definition: mainwindow.h:47
KParts::PartBase
Base class for all parts.
Definition: part.h:57
KMainWindow
KParts
Definition: browserextension.cpp:64

kparts

Skip menu "kparts"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kparts

Skip menu "kparts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kparts by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |