Commit f6b1412a authored by Laurent Montel's avatar Laurent Montel 😁

Add formatter

parent 468bddda
......@@ -21,11 +21,12 @@
*/
#include "addresseslocationviewer.h"
#include "addresseslocationgrantleeformater.h"
AddressesLocationViewer::AddressesLocationViewer(QWidget *parent)
: QWidget(parent)
: QWidget(parent),
mAddressesLocationGrantleeFormatter(new AddressesLocationGrantleeFormater(this))
{
//TODO add list of address
}
AddressesLocationViewer::~AddressesLocationViewer()
......
......@@ -26,7 +26,7 @@
#include <QWidget>
#include <KContacts/Address>
class AddressesLocationGrantleeFormater;
class AddressesLocationViewer : public QWidget
{
Q_OBJECT
......@@ -43,6 +43,7 @@ public:
private:
void updateView();
KContacts::Address::List mAddresses;
AddressesLocationGrantleeFormater *mAddressesLocationGrantleeFormatter;
};
#endif // ADDRESSESLOCATIONVIEWER_H
......@@ -21,6 +21,7 @@
*/
#include "addressgrantleeobject.h"
#include "iconnamecache_p.h"
AddressGrantleeObject::AddressGrantleeObject(const KContacts::Address &address, int addressIndex, QObject *parent)
: QObject(parent),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment