summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-11-22 14:00:21 (UTC)
committer llornkcor <llornkcor>2002-11-22 14:00:21 (UTC)
commit671116dfa34eef557060487324c9176bdb7da38e (patch) (unidiff)
tree18b440db8bab4be75969d8ffb7aab0c622ef78d1
parentc0be828aa886a9b871e5b38df4685a22d847c097 (diff)
downloadopie-671116dfa34eef557060487324c9176bdb7da38e.zip
opie-671116dfa34eef557060487324c9176bdb7da38e.tar.gz
opie-671116dfa34eef557060487324c9176bdb7da38e.tar.bz2
tr and opie header
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/commandeditwidget.cpp39
-rw-r--r--core/apps/embeddedkonsole/commandeditwidget.h37
2 files changed, 59 insertions, 17 deletions
diff --git a/core/apps/embeddedkonsole/commandeditwidget.cpp b/core/apps/embeddedkonsole/commandeditwidget.cpp
index 84962ef..6257d83 100644
--- a/core/apps/embeddedkonsole/commandeditwidget.cpp
+++ b/core/apps/embeddedkonsole/commandeditwidget.cpp
@@ -1,38 +1,59 @@
1/**************************************************************************** 1/*
2** Form implementation generated from reading ui file 'commandeditwidget.ui' 2                This file is part of the Opie Project
3** 3 Copyright (c) 2002 L. Potter <ljp@llornkcor.com>
4** Created: Sat Feb 2 11:08:25 2002 4 =.
5** by: The User Interface Compiler (uic) 5 .=l.
6** 6           .>+-=
7** WARNING! All changes made in this file will be lost! 7 _;:,     .>    :=|. This program is free software; you can
8****************************************************************************/ 8.> <`_,   >  .   <= redistribute it and/or modify it under
9:`=1 )Y*s>-.--   : the terms of the GNU General Public
10.="- .-=="i,     .._ License as published by the Free Software
11 - .   .-<_>     .<> Foundation; either version 2 of the License,
12     ._= =}       : or (at your option) any later version.
13    .%`+i>       _;_.
14    .i_,=:_.      -<s. This program is distributed in the hope that
15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
16    : ..    .:,     . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details.
21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA.
28
29*/
9#include "commandeditwidget.h" 30#include "commandeditwidget.h"
10 31
11#include <qpushbutton.h> 32#include <qpushbutton.h>
12#include "playlistselection.h" 33#include "playlistselection.h"
13#include <qlayout.h> 34#include <qlayout.h>
14#include <qvariant.h> 35#include <qvariant.h>
15#include <qtooltip.h> 36#include <qtooltip.h>
16#include <qwhatsthis.h> 37#include <qwhatsthis.h>
17 38
18/* 39/*
19 * Constructs a Form1 which is a child of 'parent', with the 40 * Constructs a Form1 which is a child of 'parent', with the
20 * name 'name' and widget flags set to 'f' 41 * name 'name' and widget flags set to 'f'
21 */ 42 */
22Form1::Form1( QWidget* parent, const char* name, WFlags fl ) 43Form1::Form1( QWidget* parent, const char* name, WFlags fl )
23 : QWidget( parent, name, fl ) 44 : QWidget( parent, name, fl )
24{ 45{
25 if ( !name ) 46 if ( !name )
26 setName( "Form1" ); 47 setName( tr("Form1"));
27 resize( 596, 480 ); 48 resize( 596, 480 );
28 setCaption( tr( "Form1" ) ); 49 setCaption( tr( "Form1" ) );
29 Form1Layout = new QGridLayout( this ); 50 Form1Layout = new QGridLayout( this );
30 Form1Layout->setSpacing( 6 ); 51 Form1Layout->setSpacing( 6 );
31 Form1Layout->setMargin( 11 ); 52 Form1Layout->setMargin( 11 );
32 53
33 MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" ); 54 MyCustomWidget1 = new PlayListSelection( this, "MyCustomWidget1" );
34 55
35 Form1Layout->addWidget( MyCustomWidget1, 0, 0 ); 56 Form1Layout->addWidget( MyCustomWidget1, 0, 0 );
36} 57}
37 58
38/* 59/*
diff --git a/core/apps/embeddedkonsole/commandeditwidget.h b/core/apps/embeddedkonsole/commandeditwidget.h
index c88de73..b987ae2 100644
--- a/core/apps/embeddedkonsole/commandeditwidget.h
+++ b/core/apps/embeddedkonsole/commandeditwidget.h
@@ -1,20 +1,41 @@
1/**************************************************************************** 1/*
2** Form interface generated from reading ui file 'commandeditwidget.ui' 2                This file is part of the Opie Project
3** 3 Copyright (c) 2002 L. Potter <ljp@llornkcor.com>
4** Created: Sat Feb 2 11:08:25 2002 4 =.
5** by: The User Interface Compiler (uic) 5 .=l.
6** 6           .>+-=
7** WARNING! All changes made in this file will be lost! 7 _;:,     .>    :=|. This program is free software; you can
8****************************************************************************/ 8.> <`_,   >  .   <= redistribute it and/or modify it under
9:`=1 )Y*s>-.--   : the terms of the GNU General Public
10.="- .-=="i,     .._ License as published by the Free Software
11 - .   .-<_>     .<> Foundation; either version 2 of the License,
12     ._= =}       : or (at your option) any later version.
13    .%`+i>       _;_.
14    .i_,=:_.      -<s. This program is distributed in the hope that
15     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
16    : ..    .:,     . . . without even the implied warranty of
17    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
18  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
19..}^=.=       =       ; Library General Public License for more
20++=   -.     .`     .: details.
21 :     =  ...= . :.=-
22 -.   .:....=;==+<; You should have received a copy of the GNU
23  -_. . .   )=.  = Library General Public License along with
24    --        :-=` this library; see the file COPYING.LIB.
25 If not, write to the Free Software Foundation,
26 Inc., 59 Temple Place - Suite 330,
27 Boston, MA 02111-1307, USA.
28
29*/
9#ifndef FORM1_H 30#ifndef FORM1_H
10#define FORM1_H 31#define FORM1_H
11 32
12#include <qvariant.h> 33#include <qvariant.h>
13#include <qwidget.h> 34#include <qwidget.h>
14class QVBoxLayout; 35class QVBoxLayout;
15class QHBoxLayout; 36class QHBoxLayout;
16class QGridLayout; 37class QGridLayout;
17class PlayListSelection; 38class PlayListSelection;
18 39
19class Form1 : public QWidget 40class Form1 : public QWidget
20{ 41{