1 /***************************************************************************
2 * Copyright (C) 2003 by S�astien Laot *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program 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 *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
24 #include <kmainwindow.h>
26 #include <qtabwidget.h>
29 #include <QResizeEvent>
30 #include <Q3PopupMenu>
31 #include <Q3VBoxLayout>
33 #include <ksystemtray.h>
34 #include <q3ptrlist.h>
36 #include <qclipboard.h>
39 #include <qdesktopwidget.h>
41 #include <qsplitter.h>
53 class DecoratedBasket
;
59 namespace KSettings
{ class Dialog
; };
62 /** The window that contain baskets, organized by tabs.
63 * @author S�astien Laot
65 class MainWindow
: public KMainWindow
69 /** Construtor, initializer and destructor */
70 MainWindow(QWidget
*parent
= 0, const char *name
= 0);
77 // void toggleToolBar();
78 void toggleStatusBar();
79 void showShortcutsSettingsDialog();
80 void configureToolbars();
81 void configureNotifications();
82 void showSettingsDialog();
83 void minimizeRestore();
86 void slotNewToolbarConfig();
91 virtual void resizeEvent(QResizeEvent
*);
92 virtual void moveEvent(QMoveEvent
*);
98 // KToggleAction *m_actShowToolbar;
99 KToggleAction
*m_actShowStatusbar
;
101 KAction
*actAppConfig
;
102 Q3PtrList
<KAction
> actBasketsList
;
105 Q3VBoxLayout
*m_layout
;
108 KSettings::Dialog
*m_settings
;
112 #endif // CONTAINER_H