Qt API | Qtopia API Qtopia Documentation

LocationCombo Class Reference

The LocationCombo class displays a list of available storage locations. More...

#include <qtopia/locationcombo.h>

Inherits QComboBox.

List of all member functions.

Public Members

Signals


Detailed Description

The LocationCombo class displays a list of available storage locations.

See also DocPropertiesDialog and Qtopia Classes.


Member Function Documentation

LocationCombo::LocationCombo ( QWidget * parent, const char * name = 0 )

Constructs a LocationCombo with parent parent and name name.

LocationCombo::LocationCombo ( const AppLnk * lnk, QWidget * parent, const char * name = 0 )

Constructs a LocationCombo with parent parent and name name. lnk is pointer to an existing AppLnk.

LocationCombo::~LocationCombo ()

Destroys the widget.

QString LocationCombo::documentPath () const

Returns the document path associated with this LocationCombo. This will be "<path>/Documents".

const FileSystem * LocationCombo::fileSystem () const

Returns a pointer to FileSystem object, associated with the current selection of the LocationCombo.

QString LocationCombo::installationPath () const

Returns the default (home) location for the file associated with this LocationCombo.

bool LocationCombo::isChanged () const

Returns TRUE to indicate that the user has changed the location displayed by the LocationCombo. Most useful when the LocationCombo is part of a dialog; when the dialog is accept()ed, LocationCombo::isChanged() can be examined to check for a change of location.

void LocationCombo::newPath () [signal]

Emitted when the LocationCombo changes to a new location.

void LocationCombo::setLocation ( const AppLnk * lnk )

Sets the display of the LocationCombo to the location associated with the AppLnk lnk.

This file is part of the Qtopia , copyright © 1995-2002 Trolltech, all rights reserved.


Copyright © 2001-2002 TrolltechTrademarks
Qtopia version 1.7.0