summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-18 11:54:37 (UTC)
committer llornkcor <llornkcor>2002-06-18 11:54:37 (UTC)
commit527fc7231eb1b058629f7479adbf4ead974a65de (patch) (side-by-side diff)
tree35f62bd9191531c3c3ad33dd7657c3a28900f421
parent8a2b6edfb829ca41e66d3345c9b3806330412905 (diff)
downloadopie-527fc7231eb1b058629f7479adbf4ead974a65de.zip
opie-527fc7231eb1b058629f7479adbf4ead974a65de.tar.gz
opie-527fc7231eb1b058629f7479adbf4ead974a65de.tar.bz2
added more filetypes to open, such as audio and video.. that might help
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/multimedia/opieplayer/inputDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/multimedia/opieplayer/inputDialog.cpp b/core/multimedia/opieplayer/inputDialog.cpp
index f6cab2a..b46c154 100644
--- a/core/multimedia/opieplayer/inputDialog.cpp
+++ b/core/multimedia/opieplayer/inputDialog.cpp
@@ -1,52 +1,52 @@
/****************************************************************************
** Form implementation generated from reading ui file 'inputDialog.ui'
**
** Created: Sat Mar 2 07:55:03 2002
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#include "inputDialog.h"
#include <qpe/resource.h>
#include <opie/ofiledialog.h>
#include <qlineedit.h>
#include <qlayout.h>
#include <qvariant.h>
#include <qpushbutton.h>
#include <qwhatsthis.h>
InputDialog::InputDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
if ( !name )
setName( "InputDialog" );
resize( 234, 115);
setMaximumSize( QSize( 240, 40));
setCaption( tr(name ) );
QPushButton *browserButton;
browserButton = new QPushButton( Resource::loadIconSet("fileopen"),"",this,"BrowseButton");
browserButton->setGeometry( QRect( 205, 10, 22, 22));
connect( browserButton, SIGNAL(released()),this,SLOT(browse()));
LineEdit1 = new QLineEdit( this, "LineEdit1" );
LineEdit1->setGeometry( QRect( 4, 10, 190, 22 ) );
}
/*
* Destroys the object and frees any allocated resources
*/
InputDialog::~InputDialog()
{
inputText= LineEdit1->text();
}
void InputDialog::browse() {
- QString str = OFileDialog::getOpenFileName( 1,"/","", "playlist/plain;audio/x-mpegurl", 0 );
+ QString str = OFileDialog::getOpenFileName( 1,"/","", "audio/*;video/*;playlist/plain;audio/x-mpegurl", 0 );
LineEdit1->setText(str);
}