summaryrefslogtreecommitdiff
path: root/noncore
authorllornkcor <llornkcor>2004-06-16 09:02:40 (UTC)
committer llornkcor <llornkcor>2004-06-16 09:02:40 (UTC)
commit334da0ef825f861792a12f9b51201ed81b491cec (patch) (side-by-side diff)
tree2dd1f04166444c26c0baf432622f0e8bd0f5fcde /noncore
parentf1f53eba247de324eabf07d455e00cfd0f453375 (diff)
downloadopie-334da0ef825f861792a12f9b51201ed81b491cec.zip
opie-334da0ef825f861792a12f9b51201ed81b491cec.tar.gz
opie-334da0ef825f861792a12f9b51201ed81b491cec.tar.bz2
fix warning
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/optionsDialogData.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp b/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp
index e03fa2c..772926a 100644
--- a/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp
+++ b/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp
@@ -19,15 +19,15 @@
#include <qpushbutton.h>
#include <qlineedit.h>
#include <qcombobox.h>
void optionsDialog::initDialog()
{
- QWidget *d = QApplication::desktop();
- int width = d->width();
- int height = d->height();
+// QWidget *d = QApplication::desktop();
+// int width = d->width();
+// int height = d->height();
QGridLayout *layout = new QGridLayout( this );
layout->setSpacing(2);
layout->setMargin(2);
tabWidget = new QTabWidget( this, "tabWidget" );
@@ -41,13 +41,13 @@ void optionsDialog::initDialog()
// Http_CheckBox = new QCheckBox( Widget2, "Http_CheckBox" );
QLabel *downLabel= new QLabel(Widget2,"Label1");
downLabel->setText("Download Directory:");
downLabel->setMaximumHeight(30);
-
+
downloadDirEdit = new QLineEdit(Widget2,"downloadDir");
// ComboBoxStyle = new QComboBox( FALSE, Widget2, "ComboBoxStyle" );
// ComboBoxStyle->insertItem( tr( "styleMetal") );
// ComboBoxStyle->insertItem( tr( "styleWindows") );
// ComboBoxStyle->insertItem( tr( "default style") );
@@ -86,13 +86,13 @@ void optionsDialog::initDialog()
ftp_QListBox_1 = new QListBox( Widget3, "ftp_QListBox_1" );
ftp_DownloadButton = new QPushButton( Widget3, "ftp_DownloadButton" );
//////////////////////////////////////////////////////////
tabWidget->insertTab( Widget3, tr( "FTP" ) );
tab = new QWidget( tabWidget, "tab" );
-
+
TextLabel3_3 = new QLabel( tab, "TextLabel3_3" );
// TextLabel4 = new QLabel( tab, "TextLabel4" );
// TextLabel5 = new QLabel( tab, "TextLabel5" );
PushButton_Browse = new QPushButton( tab, "PushButton_Browse" );
@@ -107,19 +107,19 @@ void optionsDialog::initDialog()
//////////////////////////////////////////////////////////
tabWidget->insertTab( tab, tr( "HTTP" ) );
QGridLayout *layout4 = new QGridLayout(tab );
layout4->setSpacing(2);
layout4->setMargin(2);
-
+
fontDlg = new FontDialog( tabWidget,"FontDialog");
// fontWidget= new QWidget( tabWidget, "fontWidget" );
tabWidget->insertTab( fontDlg,"Font");
// fontDlg = new FontDialog( fontWidget,"FontDialog");
// fontDlg->show();
-
+
initConnections();
ftp_DownloadButton->setText("New List");
PushButton_Browse->setText("Browse");
local_library = (QDir::homeDirPath ()) +"/Applications/gutenbrowser/";