tdeparts
mainwindow.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __MAINWINDOW_H
00021 #define __MAINWINDOW_H
00022
00023 #include <tqptrlist.h>
00024 #include <tdeaction.h>
00025
00026 #include <tdemainwindow.h>
00027
00028 #include <tdeparts/part.h>
00029
00030 class TQString;
00031
00032 namespace KParts
00033 {
00034
00035 class MainWindowPrivate;
00036
00047 class TDEPARTS_EXPORT MainWindow : public TDEMainWindow, virtual public PartBase
00048 {
00049 Q_OBJECT
00050 public:
00054 #ifdef qdoc
00055 MainWindow( TQWidget* parent, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose );
00056 #else
00057 MainWindow( TQWidget* parent, const char *name = 0L, WFlags f = (WFlags)(WType_TopLevel | WDestructiveClose) );
00058 #endif
00059
00062 #ifdef qdoc
00063 MainWindow( const char *name = 0L, WFlags f = WDestructiveClose );
00064 #else
00065 MainWindow( const char *name = 0L, WFlags f = (WFlags)WDestructiveClose );
00066 #endif
00067
00071 #ifdef qdoc
00072 MainWindow( int cflags, TQWidget* parent, const char *name = 0L, WFlags f = WType_TopLevel | WDestructiveClose );
00073 #else
00074 MainWindow( int cflags, TQWidget* parent, const char *name = 0L, WFlags f = (WFlags)(WType_TopLevel | WDestructiveClose) );
00075 #endif
00076
00079 virtual ~MainWindow();
00080
00081 protected slots:
00082
00093 void createGUI( KParts::Part * part );
00094
00100 virtual void slotSetStatusBarText( const TQString & );
00101
00108 void saveNewToolbarConfig();
00109
00110 protected:
00111 virtual void createShellGUI( bool create = true );
00112
00113 private:
00114 MainWindowPrivate *d;
00115 };
00116
00117 }
00118
00119 #endif
00120