summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/manager/obexftpdialogbase.cpp
Unidiff
Diffstat (limited to 'noncore/net/opietooth/manager/obexftpdialogbase.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opietooth/manager/obexftpdialogbase.cpp156
1 files changed, 0 insertions, 156 deletions
diff --git a/noncore/net/opietooth/manager/obexftpdialogbase.cpp b/noncore/net/opietooth/manager/obexftpdialogbase.cpp
deleted file mode 100644
index dd54b5f..0000000
--- a/noncore/net/opietooth/manager/obexftpdialogbase.cpp
+++ b/dev/null
@@ -1,156 +0,0 @@
1/****************************************************************************
2** Form implementation generated from reading ui file 'obexftpdialogbase.ui'
3**
4** Created: Tue Mar 21 00:29:33 2006
5** by: The User Interface Compiler (uic)
6**
7** WARNING! All changes made in this file will be lost!
8****************************************************************************/
9#include "obexftpdialogbase.h"
10
11#include <qcombobox.h>
12#include <qheader.h>
13#include <qlabel.h>
14#include <qlistview.h>
15#include <qmultilineedit.h>
16#include <qprogressbar.h>
17#include <qpushbutton.h>
18#include <qspinbox.h>
19#include <qtabwidget.h>
20#include <qwidget.h>
21#include <qlayout.h>
22#include <qvariant.h>
23#include <qtooltip.h>
24#include <qwhatsthis.h>
25
26/*
27 * Constructs a ObexFtpDialogBase which is a child of 'parent', with the
28 * name 'name' and widget flags set to 'f'
29 *
30 * The dialog will by default be modeless, unless you set 'modal' to
31 * TRUE to construct a modal dialog.
32 */
33ObexFtpDialogBase::ObexFtpDialogBase( QWidget* parent, const char* name, bool modal, WFlags fl )
34 : QDialog( parent, name, modal, fl )
35{
36 if ( !name )
37 setName( "ObexFtpDialogBase" );
38 resize( 267, 312 );
39 setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth() ) );
40 setCaption( tr( "Browse device" ) );
41 ObexFtpDialogBaseLayout = new QVBoxLayout( this );
42 ObexFtpDialogBaseLayout->setSpacing( 0 );
43 ObexFtpDialogBaseLayout->setMargin( 0 );
44
45 obexFtpTab = new QTabWidget( this, "obexFtpTab" );
46
47 files = new QWidget( obexFtpTab, "files" );
48 filesLayout = new QVBoxLayout( files );
49 filesLayout->setSpacing( 0 );
50 filesLayout->setMargin( 0 );
51
52 Layout13 = new QGridLayout;
53 Layout13->setSpacing( 6 );
54 Layout13->setMargin( 0 );
55
56 fileList = new QListView( files, "fileList" );
57 fileList->addColumn( tr( "Name" ) );
58 fileList->addColumn( tr( "Size" ) );
59
60 Layout13->addWidget( fileList, 0, 0 );
61
62 fileProgress = new QProgressBar( files, "fileProgress" );
63
64 Layout13->addWidget( fileProgress, 1, 0 );
65
66 Layout11 = new QHBoxLayout;
67 Layout11->setSpacing( 6 );
68 Layout11->setMargin( 0 );
69
70 browseOK = new QPushButton( files, "browseOK" );
71 browseOK->setText( tr( "Browse" ) );
72 Layout11->addWidget( browseOK );
73
74 getButton = new QPushButton( files, "getButton" );
75 getButton->setText( tr( "Get file" ) );
76 Layout11->addWidget( getButton );
77
78 putButton = new QPushButton( files, "putButton" );
79 putButton->setText( tr( "Put file" ) );
80 Layout11->addWidget( putButton );
81
82 Layout13->addLayout( Layout11, 2, 0 );
83
84 statusBar = new QLabel( files, "statusBar" );
85 statusBar->setText( tr( "" ) );
86
87 Layout13->addWidget( statusBar, 3, 0 );
88 filesLayout->addLayout( Layout13 );
89 obexFtpTab->insertTab( files, tr( "Device" ) );
90
91 localFs = new QWidget( obexFtpTab, "localFs" );
92 obexFtpTab->insertTab( localFs, tr( "Local" ) );
93
94 options = new QWidget( obexFtpTab, "options" );
95
96 QWidget* privateLayoutWidget = new QWidget( options, "Layout5" );
97 privateLayoutWidget->setGeometry( QRect( 45, 5, 162, 63 ) );
98 Layout5 = new QVBoxLayout( privateLayoutWidget );
99 Layout5->setSpacing( 6 );
100 Layout5->setMargin( 0 );
101
102 Layout3 = new QHBoxLayout;
103 Layout3->setSpacing( 6 );
104 Layout3->setMargin( 0 );
105
106 uuidLabel = new QLabel( privateLayoutWidget, "uuidLabel" );
107 uuidLabel->setText( tr( "uuid type" ) );
108 Layout3->addWidget( uuidLabel );
109
110 uuidType = new QComboBox( FALSE, privateLayoutWidget, "uuidType" );
111 uuidType->insertItem( tr( "FBS" ) );
112 uuidType->insertItem( tr( "S45" ) );
113 Layout3->addWidget( uuidType );
114 Layout5->addLayout( Layout3 );
115
116 Layout4 = new QHBoxLayout;
117 Layout4->setSpacing( 6 );
118 Layout4->setMargin( 0 );
119
120 connRetries = new QLabel( privateLayoutWidget, "connRetries" );
121 connRetries->setText( tr( "Retry to connect" ) );
122 Layout4->addWidget( connRetries );
123
124 nReries = new QSpinBox( privateLayoutWidget, "nReries" );
125 nReries->setButtonSymbols( QSpinBox::PlusMinus );
126 Layout4->addWidget( nReries );
127 Layout5->addLayout( Layout4 );
128 obexFtpTab->insertTab( options, tr( "Options" ) );
129
130 browse = new QWidget( obexFtpTab, "browse" );
131 browseLayout = new QHBoxLayout( browse );
132 browseLayout->setSpacing( 0 );
133 browseLayout->setMargin( 0 );
134
135 browseLog = new QMultiLineEdit( browse, "browseLog" );
136 browseLayout->addWidget( browseLog );
137 obexFtpTab->insertTab( browse, tr( "Log" ) );
138 ObexFtpDialogBaseLayout->addWidget( obexFtpTab );
139
140 // tab order
141 setTabOrder( obexFtpTab, fileList );
142 setTabOrder( fileList, browseOK );
143 setTabOrder( browseOK, getButton );
144 setTabOrder( getButton, putButton );
145 setTabOrder( putButton, uuidType );
146 setTabOrder( uuidType, browseLog );
147}
148
149/*
150 * Destroys the object and frees any allocated resources
151 */
152ObexFtpDialogBase::~ObexFtpDialogBase()
153{
154 // no need to delete child widgets, Qt does it all for us
155}
156