author | Sebastian Brannstrom <sebastianb@symbian.org> |
Mon, 09 Aug 2010 14:37:31 +0100 | |
changeset 20 | a7451a8eb5dc |
parent 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; }