author | mickeyl <mickeyl> | 2004-04-09 14:06:05 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-04-09 14:06:05 (UTC) |
commit | 5f294a018a0f44a6547485bc73a095cd0c153903 (patch) (side-by-side diff) | |
tree | ea19ba0afea3e8d4a226719a3590cf11e5fc5178 /noncore/apps/opie-gutenbrowser/browserDialog.cpp | |
parent | 208a155ee480e5c1ae0fd6e8876a6ffea7f1c4a5 (diff) | |
download | opie-5f294a018a0f44a6547485bc73a095cd0c153903.zip opie-5f294a018a0f44a6547485bc73a095cd0c153903.tar.gz opie-5f294a018a0f44a6547485bc73a095cd0c153903.tar.bz2 |
libopie1 --> libopie2
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/browserDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-gutenbrowser/browserDialog.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/noncore/apps/opie-gutenbrowser/browserDialog.cpp b/noncore/apps/opie-gutenbrowser/browserDialog.cpp index 5c48da1..81dd516 100644 --- a/noncore/apps/opie-gutenbrowser/browserDialog.cpp +++ b/noncore/apps/opie-gutenbrowser/browserDialog.cpp @@ -1,29 +1,32 @@ /**************************************************************************** copyright 2001 by L.J. Potter ljp@llornkcor.com copyright : (C) 2000 -2004 by llornkcor email : ljp@llornkcor.com ****************************************************************************/ #include "optionsDialog.h" //#include "fileBrowser.h" +/* OPIE */ +#include <opie2/ofiledialog.h> +using namespace Opie::Ui; + +/* QT */ #include <qlabel.h> #include <qlistbox.h> #include <qpushbutton.h> #include <qlayout.h> -#include <opie/ofiledialog.h> - void optionsDialog::BrowserDlg( ) { // setCaption( tr( "Choose Browser" ) ); http_ListBox1->insertItem( tr( "Opera")); http_ListBox1->insertItem( tr( "Konqueror")); http_ListBox1->insertItem( tr( "wget")); } void optionsDialog::select_title(int) { browserName = http_ListBox1->currentText(); Config config("Gutenbrowser"); config.setGroup( "Browser" ); @@ -62,22 +65,22 @@ void optionsDialog::BrowseSelected() { // } else { // QString sMsg; // sMsg = "Error opening library filelist "+fileName; // } if ( !fileName.isNull() ) { // got a file name // ... } } } void optionsDialog::setHttp(int index) { - Config config("Gutenbrowser"); + Config config("Gutenbrowser"); config.setGroup( "HttpServer" ); qDebug("writing http server"); if( index== 0) { config.writeEntry("Preferred", "http://sailor.gutenberg.org"); } else { config.writeEntry("Preferred", "http://www.prairienet.org/pg"); } } |