SettingsDialog Class Reference

Settings Dialog. More...

#include "ui/settingsdialog.h"

List of all members.

Public Member Functions

 SettingsDialog (QWidget *parent=0)
 Default constructor.
void enableSituareSettings (bool enabled)
 Enables Situare related settings from settings dialog.

Private Slots

void saveValues ()
 Saves settings to file.
void toggleAutomaticLocationUpdate (bool enabled)
 Toggles automatic location update state.

Private Member Functions

void populateUpdateIntervalList (QStandardItemModel *model)
 Populates update interval list.
void readSettings ()
 Read settings.
void setTime (const QTime &time)
 Sets time.
QTime time ()
 Returns current update interval time.

Private Attributes

QCheckBox * m_automaticLocationUpdate
 Pointer to CheckBox.
QTimeEdit * m_automaticLocationUpdateInterval
 Pointer to QTimeEdit.
QPushButton * m_saveButton
 Save button.

Detailed Description

Settings Dialog.


Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( QWidget *  parent = 0  ) 

Default constructor.

Parameters:
parent Parent

Member Function Documentation

void SettingsDialog::enableSituareSettings ( bool  enabled  ) 

Enables Situare related settings from settings dialog.

Parameters:
enabled true if enabled, false otherwise
void SettingsDialog::populateUpdateIntervalList ( QStandardItemModel *  model  )  [private]

Populates update interval list.

Parameters:
model QStandardItemModel
void SettingsDialog::setTime ( const QTime &  time  )  [private]

Sets time.

Parameters:
time time to set
QTime SettingsDialog::time (  )  [private]

Returns current update interval time.

Returns:
current time
void SettingsDialog::toggleAutomaticLocationUpdate ( bool  enabled  )  [private, slot]

Toggles automatic location update state.

Enables and disabled automatic location update interval time edit.

Parameters:
enabled true if settings are enabled, false otherwise

The documentation for this class was generated from the following files:

Generated on Fri Sep 3 12:05:42 2010 for Situare client for Maemo by  doxygen 1.6.1