summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/tabmanager/app.cpp30
-rw-r--r--noncore/settings/tabmanager/app.h28
-rw-r--r--noncore/settings/tabmanager/main.cpp28
-rw-r--r--noncore/settings/tabmanager/tabapplnk.h28
-rw-r--r--noncore/settings/tabmanager/tablistview.h30
-rw-r--r--noncore/settings/tabmanager/tabmainwindow.h28
-rw-r--r--noncore/settings/tabmanager/tabmanager.cpp29
-rw-r--r--noncore/settings/tabmanager/tabmanager.h28
8 files changed, 2 insertions, 227 deletions
diff --git a/noncore/settings/tabmanager/app.cpp b/noncore/settings/tabmanager/app.cpp
index aa17bfe..30ba9a5 100644
--- a/noncore/settings/tabmanager/app.cpp
+++ b/noncore/settings/tabmanager/app.cpp
@@ -1,34 +1,6 @@
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/**************************************************************************** 1/****************************************************************************
30** Form implementation generated from reading ui file 'app.ui' 2** Form implementation generated from reading ui file 'app.ui'
31** 3**
32** Created: Fri May 3 14:38:15 2002 4** Created: Fri May 3 14:38:15 2002
33** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
34** 6**
@@ -52,13 +24,13 @@
52 * TRUE to construct a modal dialog. 24 * TRUE to construct a modal dialog.
53 */ 25 */
54AppEdit::AppEdit( QWidget* parent, const char* name, bool modal, WFlags fl ) 26AppEdit::AppEdit( QWidget* parent, const char* name, bool modal, WFlags fl )
55 : QDialog( parent, name, modal, fl ) 27 : QDialog( parent, name, modal, fl )
56{ 28{
57 if ( !name ) 29 if ( !name )
58 setName( "AppEdit" ); 30 setName( "AppEdit" );
59 resize( 211, 241 ); 31 resize( 211, 241 );
60 setCaption( tr( "Application" ) ); 32 setCaption( tr( "Application" ) );
61 AppEditLayout = new QGridLayout( this ); 33 AppEditLayout = new QGridLayout( this );
62 AppEditLayout->setSpacing( 6 ); 34 AppEditLayout->setSpacing( 6 );
63 AppEditLayout->setMargin( 11 ); 35 AppEditLayout->setMargin( 11 );
64 36
diff --git a/noncore/settings/tabmanager/app.h b/noncore/settings/tabmanager/app.h
index 89afb28..ffa6222 100644
--- a/noncore/settings/tabmanager/app.h
+++ b/noncore/settings/tabmanager/app.h
@@ -1,34 +1,6 @@
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/**************************************************************************** 1/****************************************************************************
30** Form interface generated from reading ui file 'app.ui' 2** Form interface generated from reading ui file 'app.ui'
31** 3**
32** Created: Fri May 3 14:38:09 2002 4** Created: Fri May 3 14:38:09 2002
33** by: The User Interface Compiler (uic) 5** by: The User Interface Compiler (uic)
34** 6**
diff --git a/noncore/settings/tabmanager/main.cpp b/noncore/settings/tabmanager/main.cpp
index a96d768..f737de5 100644
--- a/noncore/settings/tabmanager/main.cpp
+++ b/noncore/settings/tabmanager/main.cpp
@@ -1,34 +1,6 @@
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#include "tabmainwindow.h" 1#include "tabmainwindow.h"
30#include <qpe/qpeapplication.h> 2#include <qpe/qpeapplication.h>
31 3
32int main( int argc, char **argv ){ 4int main( int argc, char **argv ){
33 QPEApplication application( argc, argv ); 5 QPEApplication application( argc, argv );
34 TabMainWindow mainWindow; 6 TabMainWindow mainWindow;
diff --git a/noncore/settings/tabmanager/tabapplnk.h b/noncore/settings/tabmanager/tabapplnk.h
index 6669144..9333e87 100644
--- a/noncore/settings/tabmanager/tabapplnk.h
+++ b/noncore/settings/tabmanager/tabapplnk.h
@@ -1,34 +1,6 @@
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 TABAPPLNK_H 1#ifndef TABAPPLNK_H
30#define TABAPPLNK_H 2#define TABAPPLNK_H
31 3
32#include <qpe/applnk.h> 4#include <qpe/applnk.h>
33 5
34class TabAppLnk : public AppLnk { 6class TabAppLnk : public AppLnk {
diff --git a/noncore/settings/tabmanager/tablistview.h b/noncore/settings/tabmanager/tablistview.h
index 545ee38..97f9dec 100644
--- a/noncore/settings/tabmanager/tablistview.h
+++ b/noncore/settings/tabmanager/tablistview.h
@@ -1,34 +1,6 @@
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 TABLISTVIEW_H 1#ifndef TABLISTVIEW_H
30#define TABLISTVIEW_H 2#define TABLISTVIEW_H
31 3
32#include <qlistview.h> 4#include <qlistview.h>
33#include <qcursor.h> 5#include <qcursor.h>
34#include <qapplication.h> 6#include <qapplication.h>
@@ -44,13 +16,13 @@ public:
44 connect(this, SIGNAL(pressed ( QListViewItem *)), this, SLOT(itemPressed(QListViewItem *))); 16 connect(this, SIGNAL(pressed ( QListViewItem *)), this, SLOT(itemPressed(QListViewItem *)));
45 internalCursor.setShape(0); 17 internalCursor.setShape(0);
46 }; 18 };
47 19
48protected: 20protected:
49 void contentsMouseReleaseEvent(QMouseEvent* ){ 21 void contentsMouseReleaseEvent(QMouseEvent* ){
50 QListViewItem *newGroup = this->currentItem(); 22 QListViewItem *newGroup = this->currentItem();
51 // Make sure they are both real. 23 // Make sure they are both real.
52 if (currentSelectedItem == NULL || newGroup == NULL) 24 if (currentSelectedItem == NULL || newGroup == NULL)
53 return; 25 return;
54 // Make sure they are not the same 26 // Make sure they are not the same
55 if(this->isSelected(currentSelectedItem) == true) 27 if(this->isSelected(currentSelectedItem) == true)
56 return; 28 return;
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,34 +1,6 @@
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>
diff --git a/noncore/settings/tabmanager/tabmanager.cpp b/noncore/settings/tabmanager/tabmanager.cpp
index f54c837..13aae81 100644
--- a/noncore/settings/tabmanager/tabmanager.cpp
+++ b/noncore/settings/tabmanager/tabmanager.cpp
@@ -1,35 +1,6 @@
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
30#include "tabmanager.h" 1#include "tabmanager.h"
31#include "app.h" 2#include "app.h"
32#include "tabapplnk.h" 3#include "tabapplnk.h"
33 4
34#include <qpe/applnk.h> 5#include <qpe/applnk.h>
35#include <qpe/qpeapplication.h> 6#include <qpe/qpeapplication.h>
diff --git a/noncore/settings/tabmanager/tabmanager.h b/noncore/settings/tabmanager/tabmanager.h
index 2700fe7..39865b0 100644
--- a/noncore/settings/tabmanager/tabmanager.h
+++ b/noncore/settings/tabmanager/tabmanager.h
@@ -1,34 +1,6 @@
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 TABMANAGER_H 1#ifndef TABMANAGER_H
30#define TABMANAGER_H 2#define TABMANAGER_H
31 3
32#include "tabmanagerbase.h" 4#include "tabmanagerbase.h"
33#include <qmap.h> 5#include <qmap.h>
34#include <qevent.h> 6#include <qevent.h>