All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Protected Slots
QGpGuiTools::ConnectionParam Class Reference

Brief description of class still missing. More...

#include <ConnectionParam.h>

Inheritance diagram for QGpGuiTools::ConnectionParam:
QGpGuiTools::Dialog QGpGuiTools::FrameGrabber

List of all members.

Public Member Functions

 ConnectionParam (QWidget *parent=0)
void saveParam ()
 ~ConnectionParam ()

Protected Slots

void on_proxyConnection_toggled (bool b)

Detailed Description

Brief description of class still missing.

Full description of class still missing


Constructor & Destructor Documentation

Description of constructor still missing

References on_proxyConnection_toggled(), and TRACE.

    : Dialog(parent)
{
  TRACE;
  setupUi(this);

#ifdef Q_WS_MAC
  QSettings reg(qApp->organizationDomain());
#else
  QSettings reg(qApp->organizationName());
#endif
  reg.beginGroup( "connection" );
  if(reg.value( "direct", false).toBool()) {
    directConnection->setChecked(true);
  } else  {
    proxyConnection->setChecked(true);
  }
  proxyServer->setText(reg.value("httpProxy", "www-cache").toString());
  proxyPort->setValue(reg.value("httpProxyPort", 3128).toInt());
  on_proxyConnection_toggled(proxyConnection->isChecked());
}

Description of destructor still missing

References TRACE.

{
  TRACE;
}

Member Function Documentation

References TRACE.

Referenced by ConnectionParam().

{
  TRACE;
  proxyServerLabel->setEnabled(b);
  proxyServer->setEnabled(b);
  proxyPortLabel->setEnabled(b);
  proxyPort->setEnabled(b);
}

References TRACE.

{
  TRACE;
#ifdef Q_WS_MAC
  QSettings reg(qApp->organizationDomain());
#else
  QSettings reg(qApp->organizationName());
#endif
  reg.beginGroup( "connection" );
  reg.setValue( "direct", directConnection->isChecked());
  reg.setValue( "httpProxy", proxyServer->text());
  reg.setValue( "httpProxyPort", proxyPort->value());
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines