Diffstat (limited to 'noncore/settings/tabmanager/tabmainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tabmainwindow.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/noncore/settings/tabmanager/tabmainwindow.h b/noncore/settings/tabmanager/tabmainwindow.h index 2116f5a..c76ad9f 100644 --- a/noncore/settings/tabmanager/tabmainwindow.h +++ b/noncore/settings/tabmanager/tabmainwindow.h | |||
@@ -1,52 +1,24 @@ | |||
1 | /* | ||
2 | |||
3 | =. This file is part of the OPIE Project | ||
4 | .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This library is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This library is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | |||
28 | */ | ||
29 | #ifndef TABMAINWINDOW_H | 1 | #ifndef TABMAINWINDOW_H |
30 | #define TABMAINWINDOW_H | 2 | #define TABMAINWINDOW_H |
31 | 3 | ||
32 | #include "tabmanager.h" | 4 | #include "tabmanager.h" |
33 | #include <qmainwindow.h> | 5 | #include <qmainwindow.h> |
34 | #include <qtoolbar.h> | 6 | #include <qtoolbar.h> |
35 | #include <qtoolbutton.h> | 7 | #include <qtoolbutton.h> |
36 | #include <qpe/resource.h> | 8 | #include <qpe/resource.h> |
37 | 9 | ||
38 | class TabMainWindow : public QMainWindow { | 10 | class TabMainWindow : public QMainWindow { |
39 | 11 | ||
40 | public: | 12 | public: |
41 | TabMainWindow( QWidget* parent = 0, const char* name = 0) : QMainWindow(parent, name){ | 13 | TabMainWindow( QWidget* parent = 0, const char* name = 0) : QMainWindow(parent, name){ |
42 | tabManager = new TabManager(this, "TabManger"); | 14 | tabManager = new TabManager(this, "TabManger"); |
43 | setCaption("Tab Manager"); | 15 | setCaption("Tab Manager"); |
44 | this->setCentralWidget(tabManager); | 16 | this->setCentralWidget(tabManager); |
45 | QToolBar *newToolBar = new QToolBar("toolbar", this); | 17 | QToolBar *newToolBar = new QToolBar("toolbar", this); |
46 | 18 | ||
47 | // Insert all of the buttons. | 19 | // Insert all of the buttons. |
48 | QToolButton *newFolder = new QToolButton(Resource::loadPixmap("fileopen"), "New Folder", 0, tabManager, SLOT(newFolder()), newToolBar); | 20 | QToolButton *newFolder = new QToolButton(Resource::loadPixmap("fileopen"), "New Folder", 0, tabManager, SLOT(newFolder()), newToolBar); |
49 | QToolButton *newFile = new QToolButton(Resource::loadPixmap("new"), "New Folder", 0, tabManager, SLOT(newApplication()), newToolBar); | 21 | QToolButton *newFile = new QToolButton(Resource::loadPixmap("new"), "New Folder", 0, tabManager, SLOT(newApplication()), newToolBar); |
50 | QToolButton *editItem = new QToolButton(Resource::loadPixmap("edit"), "Edit", 0, tabManager, SLOT(editCurrentItem()), newToolBar); | 22 | QToolButton *editItem = new QToolButton(Resource::loadPixmap("edit"), "Edit", 0, tabManager, SLOT(editCurrentItem()), newToolBar); |
51 | QToolButton *deleteItem = new QToolButton(Resource::loadPixmap("reset"), "Deelete", 0, tabManager, SLOT(removeItem()), newToolBar); | 23 | QToolButton *deleteItem = new QToolButton(Resource::loadPixmap("reset"), "Deelete", 0, tabManager, SLOT(removeItem()), newToolBar); |
52 | 24 | ||