author | llornkcor <llornkcor> | 2002-05-06 20:54:54 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-06 20:54:54 (UTC) |
commit | 8622bcb85245937853f3e657498957deb7eb2073 (patch) (side-by-side diff) | |
tree | 9c48f2312364b71358288e435e0ce5c39bd63c40 | |
parent | 24259e7b1446f671861b86ee1abb5d8021b98387 (diff) | |
download | opie-8622bcb85245937853f3e657498957deb7eb2073.zip opie-8622bcb85245937853f3e657498957deb7eb2073.tar.gz opie-8622bcb85245937853f3e657498957deb7eb2073.tar.bz2 |
removed license info as per request from benmeyer..... it's still GPL, tho
-rw-r--r-- | noncore/settings/tabmanager/app.cpp | 30 | ||||
-rw-r--r-- | noncore/settings/tabmanager/app.h | 28 | ||||
-rw-r--r-- | noncore/settings/tabmanager/main.cpp | 28 | ||||
-rw-r--r-- | noncore/settings/tabmanager/tabapplnk.h | 28 | ||||
-rw-r--r-- | noncore/settings/tabmanager/tablistview.h | 30 | ||||
-rw-r--r-- | noncore/settings/tabmanager/tabmainwindow.h | 28 | ||||
-rw-r--r-- | noncore/settings/tabmanager/tabmanager.cpp | 29 | ||||
-rw-r--r-- | noncore/settings/tabmanager/tabmanager.h | 28 |
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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ /**************************************************************************** ** Form implementation generated from reading ui file 'app.ui' ** ** Created: Fri May 3 14:38:15 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "app.h" #include <qlabel.h> #include <qlineedit.h> @@ -46,25 +18,25 @@ /* * Constructs a AppEdit which is a child of 'parent', with the * name 'name' and widget flags set to 'f' * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ AppEdit::AppEdit( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { if ( !name ) - setName( "AppEdit" ); + setName( "AppEdit" ); resize( 211, 241 ); setCaption( tr( "Application" ) ); AppEditLayout = new QGridLayout( this ); AppEditLayout->setSpacing( 6 ); AppEditLayout->setMargin( 11 ); TextLabel3 = new QLabel( this, "TextLabel3" ); TextLabel3->setText( tr( "Exec" ) ); AppEditLayout->addWidget( TextLabel3, 2, 0 ); TextLabel4 = new QLabel( this, "TextLabel4" ); 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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ /**************************************************************************** ** Form interface generated from reading ui file 'app.ui' ** ** Created: Fri May 3 14:38:09 2002 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #ifndef APPEDIT_H #define APPEDIT_H #include <qvariant.h> 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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ #include "tabmainwindow.h" #include <qpe/qpeapplication.h> int main( int argc, char **argv ){ QPEApplication application( argc, argv ); TabMainWindow mainWindow; application.showMainWidget(&mainWindow); return application.exec(); } //main.cpp 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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ #ifndef TABAPPLNK_H #define TABAPPLNK_H #include <qpe/applnk.h> class TabAppLnk : public AppLnk { public: TabAppLnk( const QString & file) :AppLnk(file){ }; QString pixmapString() { return mIconFile; }; 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,62 +1,34 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ #ifndef TABLISTVIEW_H #define TABLISTVIEW_H #include <qlistview.h> #include <qcursor.h> #include <qapplication.h> class TabListView : public QListView { Q_OBJECT signals: void moveItem(QListViewItem *item, QListViewItem *newFolder); public: TabListView( QWidget* parent = 0, const char* name = 0) : QListView(parent, name){ currentSelectedItem = NULL; connect(this, SIGNAL(pressed ( QListViewItem *)), this, SLOT(itemPressed(QListViewItem *))); internalCursor.setShape(0); }; protected: void contentsMouseReleaseEvent(QMouseEvent* ){ - QListViewItem *newGroup = this->currentItem(); + QListViewItem *newGroup = this->currentItem(); // Make sure they are both real. if (currentSelectedItem == NULL || newGroup == NULL) return; // Make sure they are not the same if(this->isSelected(currentSelectedItem) == true) return; // Ok we have two valid items. if(newGroup->parent()) newGroup = newGroup->parent(); // Just in case the parent was null 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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ #ifndef TABMAINWINDOW_H #define TABMAINWINDOW_H #include "tabmanager.h" #include <qmainwindow.h> #include <qtoolbar.h> #include <qtoolbutton.h> #include <qpe/resource.h> class TabMainWindow : public QMainWindow { public: 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,41 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ - #include "tabmanager.h" #include "app.h" #include "tabapplnk.h" #include <qpe/applnk.h> #include <qpe/qpeapplication.h> #include <qdir.h> #include <qfile.h> #include <qtextstream.h> #include <qlistview.h> #include <qheader.h> #include <qlineedit.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,40 +1,12 @@ -/* - - =. This file is part of the OPIE Project - .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> - .>+-= - _;:, .> :=|. This library is free software; you can -.> <`_, > . <= redistribute it and/or modify it under -:`=1 )Y*s>-.-- : the terms of the GNU Library General Public -.="- .-=="i, .._ License as published by the Free Software - - . .-<_> .<> Foundation; either version 2 of the License, - ._= =} : or (at your option) any later version. - .%`+i> _;_. - .i_,=:_. -<s. This library is distributed in the hope that - + . -:. = it will be useful, but WITHOUT ANY WARRANTY; - : .. .:, . . . without even the implied warranty of - =_ + =;=|` MERCHANTABILITY or FITNESS FOR A - _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU -..}^=.= = ; Library General Public License for more -++= -. .` .: details. - : = ...= . :.=- - -. .:....=;==+<; You should have received a copy of the GNU - -_. . . )=. = Library General Public License along with - -- :-=` this library; see the file COPYING.LIB. - If not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - -*/ #ifndef TABMANAGER_H #define TABMANAGER_H #include "tabmanagerbase.h" #include <qmap.h> #include <qevent.h> class QListViewItem; class TabManager : public TabManagerBase { Q_OBJECT |