author | John Kern <johnk@symbian.org> |
Thu, 05 Aug 2010 16:40:47 -0700 | |
changeset 19 | e4b6ee329501 |
child 23 | 51fcdd1558d8 |
permissions | -rwxr-xr-x |
#include "mainwindow.h" #include "ui_mainwindow.h" #include "contactsengine.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) { ui->setupUi(this); this->ce = new ContactsEngine(this); ui->comboBox->addItems(this->ce->dataSources()); } void MainWindow::backendSelected(QString txt) { // based on this string create a contact manager. this->ce->setManager(txt); } MainWindow::~MainWindow() { delete ui; }