summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/browserDialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/browserDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/browserDialog.cpp9
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
@@ -5,19 +5,22 @@ copyright 2001 by L.J. Potter 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"));
@@ -68,13 +71,13 @@ void optionsDialog::BrowseSelected() {
}
}
}
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");