summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/inputDialog.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/inputDialog.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/inputDialog.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/inputDialog.cpp b/noncore/multimedia/opieplayer2/inputDialog.cpp
index 687aff6..c13ea63 100644
--- a/noncore/multimedia/opieplayer2/inputDialog.cpp
+++ b/noncore/multimedia/opieplayer2/inputDialog.cpp
@@ -8,16 +8,16 @@
8#include <qlayout.h> 8#include <qlayout.h>
9#include <qvariant.h> 9#include <qvariant.h>
10#include <qpushbutton.h> 10#include <qpushbutton.h>
11#include <qwhatsthis.h> 11#include <qwhatsthis.h>
12 12
13InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) 13InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
14 : QDialog( parent, name, modal, fl ) 14 : QDialog( parent, name, modal, fl ) {
15{ 15 if ( !name ) {
16 if ( !name )
17 setName( "InputDialog" ); 16 setName( "InputDialog" );
17 }
18 resize( 234, 115); 18 resize( 234, 115);
19 setMaximumSize( QSize( 240, 40)); 19 setMaximumSize( QSize( 240, 40));
20 setCaption( tr(name ) ); 20 setCaption( tr(name ) );
21 21
22 QPushButton *browserButton; 22 QPushButton *browserButton;
23 browserButton = new QPushButton( Resource::loadIconSet("fileopen"),"",this,"BrowseButton"); 23 browserButton = new QPushButton( Resource::loadIconSet("fileopen"),"",this,"BrowseButton");
@@ -27,16 +27,14 @@ InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags
27 LineEdit1->setGeometry( QRect( 4, 10, 190, 22 ) ); 27 LineEdit1->setGeometry( QRect( 4, 10, 190, 22 ) );
28} 28}
29 29
30/* 30/*
31 * Destroys the object and frees any allocated resources 31 * Destroys the object and frees any allocated resources
32 */ 32 */
33InputDialog::~InputDialog() 33InputDialog::~InputDialog() {
34{
35 inputText= LineEdit1->text(); 34 inputText= LineEdit1->text();
36
37} 35}
38 36
39void InputDialog::browse() { 37void InputDialog::browse() {
40 38
41 MimeTypes types; 39 MimeTypes types;
42 QStringList audio, video, all; 40 QStringList audio, video, all;