locationwidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef LOCATIONWIDGET_H
00025 #define LOCATIONWIDGET_H
00026
00027
00028 #include "extensionwidget.h"
00029
00030 class KComboBox;
00031
00032 namespace KAB {
00033 class Core;
00034 }
00035
00036 namespace KABC {
00037 class Address;
00038 class AddressBook;
00039 }
00040
00041 class QPushButton;
00042
00043 class LocationWidget : public KAB::ExtensionWidget
00044 {
00045 Q_OBJECT
00046
00047 public:
00048 LocationWidget( KAB::Core *core, QWidget *parent, const char *name = 0 );
00049 virtual ~LocationWidget();
00050
00051 void contactsSelectionChanged();
00052
00053 QString title() const;
00054 QString identifier() const;
00055
00056 private slots:
00057 void loadLocationPage();
00058
00059 private:
00060 QString createUrl( const KABC::Address& );
00061
00062 KABC::Address::List mAddressList;
00063 KComboBox *mAddressTypeCombo;
00064 KComboBox *mURLTypeCombo;
00065
00066 QPushButton *mLoadButton;
00067 };
00068
00069 #endif
This file is part of the documentation for kaddressbook Library Version 3.2.2.