Diffstat (limited to 'noncore/net/opietooth/manager/obexdialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/manager/obexdialog.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/noncore/net/opietooth/manager/obexdialog.cpp b/noncore/net/opietooth/manager/obexdialog.cpp index 46a0e3d..1ef862a 100644 --- a/noncore/net/opietooth/manager/obexdialog.cpp +++ b/noncore/net/opietooth/manager/obexdialog.cpp | |||
@@ -1,40 +1,43 @@ | |||
1 | 1 | ||
2 | #include "obexdialog.h" | 2 | #include "obexdialog.h" |
3 | #include <qpushbutton.h> | 3 | #include <qpushbutton.h> |
4 | #include <qmultilineedit.h> | 4 | #include <qmultilineedit.h> |
5 | #include <qlineedit.h> | 5 | #include <qlineedit.h> |
6 | #include <qlayout.h> | 6 | #include <qlayout.h> |
7 | #include <qlabel.h> | 7 | #include <qlabel.h> |
8 | #include <qfileinfo.h> | 8 | #include <qfileinfo.h> |
9 | 9 | ||
10 | #include <qpe/resource.h> | 10 | #include <qpe/resource.h> |
11 | 11 | ||
12 | #include <opie/oprocess.h> | 12 | #include <opie2/oprocess.h> |
13 | #include <opie/ofiledialog.h> | 13 | #include <opie2/ofiledialog.h> |
14 | 14 | ||
15 | using namespace OpieTooth; | 15 | using namespace OpieTooth; |
16 | 16 | ||
17 | using namespace Opie::Core; | ||
18 | using namespace Opie::Ui; | ||
19 | using namespace Opie::Core; | ||
17 | ObexDialog::ObexDialog( QWidget* parent, const char* name, bool modal, WFlags fl, const QString& device ) | 20 | ObexDialog::ObexDialog( QWidget* parent, const char* name, bool modal, WFlags fl, const QString& device ) |
18 | : QDialog( parent, name, modal, fl ) { | 21 | : QDialog( parent, name, modal, fl ) { |
19 | 22 | ||
20 | if ( !name ) | 23 | if ( !name ) |
21 | setName( "ObexDialog" ); | 24 | setName( "ObexDialog" ); |
22 | setCaption( tr( "beam files " ) ) ; | 25 | setCaption( tr( "beam files " ) ) ; |
23 | 26 | ||
24 | m_device = device; | 27 | m_device = device; |
25 | 28 | ||
26 | layout = new QVBoxLayout( this ); | 29 | layout = new QVBoxLayout( this ); |
27 | 30 | ||
28 | QLabel* info = new QLabel( this ); | 31 | QLabel* info = new QLabel( this ); |
29 | info->setText( tr("Which file should be beamed?") ); | 32 | info->setText( tr("Which file should be beamed?") ); |
30 | 33 | ||
31 | cmdLine = new QLineEdit( this ); | 34 | cmdLine = new QLineEdit( this ); |
32 | 35 | ||
33 | QPushButton *browserButton; | 36 | QPushButton *browserButton; |
34 | browserButton = new QPushButton( Resource::loadIconSet("fileopen"),"",this,"BrowseButton"); | 37 | browserButton = new QPushButton( Resource::loadIconSet("fileopen"),"",this,"BrowseButton"); |
35 | connect( browserButton, SIGNAL(released() ), this , SLOT(browse() ) ); | 38 | connect( browserButton, SIGNAL(released() ), this , SLOT(browse() ) ); |
36 | 39 | ||
37 | chNameLine = new QLineEdit( this ); | 40 | chNameLine = new QLineEdit( this ); |
38 | 41 | ||
39 | sendButton = new QPushButton( this ); | 42 | sendButton = new QPushButton( this ); |
40 | sendButton->setText( tr( "Send" ) ); | 43 | sendButton->setText( tr( "Send" ) ); |