summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/output.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/output.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/output.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/noncore/apps/opie-gutenbrowser/output.cpp b/noncore/apps/opie-gutenbrowser/output.cpp
new file mode 100644
index 0000000..07a517f
--- a/dev/null
+++ b/noncore/apps/opie-gutenbrowser/output.cpp
@@ -0,0 +1,36 @@
1/****************************************************************************
2** outputEdit.cpp
3**
4** Copyright: Fri Apr 12 15:12:58 2002 L.J. Potter <ljp@llornkcor.com>
5 copyright : (C) 2000 -2004 by llornkcor
6 email : ljp@llornkcor.com
7****************************************************************************/
8#include "output.h"
9
10#include <qmultilineedit.h>
11#include <qlayout.h>
12
13Output::Output( QWidget* parent, const char* name, bool modal, WFlags fl )
14 : QDialog( parent, name, modal, fl )
15{
16 if ( !name )
17 setName( "Output" );
18 resize( 196, 269 );
19 setCaption( name );
20 OutputLayout = new QGridLayout( this );
21 OutputLayout->setSpacing( 6 );
22 OutputLayout->setMargin( 11 );
23
24 OutputEdit = new QMultiLineEdit( this, "OutputEdit" );
25 OutputEdit->setWordWrap(QMultiLineEdit::WidgetWidth);
26 OutputLayout->addWidget( OutputEdit, 0, 0 );
27}
28
29/*
30 * Destroys the object and frees any allocated resources
31 */
32Output::~Output()
33{
34 // no need to delete child widgets, Qt does it all for us
35}
36