SettingsDialog Class Reference

Settings Dialog. More...

#include "ui/settingsdialog.h"

List of all members.

Signals

void enableAutomaticLocationUpdate (bool enabled, int updateIntervalMsecs=0)
 Signal for enabling automatic location update.

Public Member Functions

 SettingsDialog (QWidget *parent=0)
 Default constructor.
void setAutomaticLocationUpdateSettings (bool enabled)
 Sets automatic location update settings from settings dialog.
void enableSituareSettings (bool enabled)
 Enables Situare related settings from settings dialog.
void emitAutomaticLocationUpdateSettings ()
 Emits automatic location update settings.
void readSettings ()
 Read settings.

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 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.

Detailed Description

Settings Dialog.


Constructor & Destructor Documentation

SettingsDialog::SettingsDialog ( QWidget *  parent = 0  ) 

Default constructor.

Parameters:
parent Parent

Member Function Documentation

void SettingsDialog::enableAutomaticLocationUpdate ( bool  enabled,
int  updateIntervalMsecs = 0 
) [signal]

Signal for enabling automatic location update.

Parameters:
enabled true if enabled, false otherwise
updateIntervalMsecs update interval in milliseconds
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::setAutomaticLocationUpdateSettings ( bool  enabled  ) 

Sets automatic location update settings from settings dialog.

Parameters:
enabled true if enabled, false otherwise
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 Thu Jun 10 09:44:04 2010 for Situare client for Maemo by  doxygen 1.6.1