Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

addressview.h Example File

 ** Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies).
 ** Contact: Qt Software Information (qt-info@nokia.com)
 ** This file is part of the example classes of the Qt Toolkit.
 ** Commercial Usage
 ** Licensees holding valid Qt Commercial licenses may use this file in
 ** accordance with the Qt Commercial License Agreement provided with the
 ** Software or, alternatively, in accordance with the terms contained in
 ** a written agreement between you and Nokia.
 ** If you are unsure which license is appropriate for your use, please
 ** contact the sales department at qt-sales@nokia.com.


 #include <QWidget>

 class AddressBookModel;
 class QLineEdit;
 class QModelIndex;
 class QPushButton;
 class QTreeView;

 class AddressView : public QWidget

     AddressView(QWidget *parent = 0);

 protected slots:
     void addEntry();
     void changeEntry();
     void itemSelected(const QModelIndex &index);

     void updateOutlook();

     AddressBookModel *model;

     QTreeView *treeView;
     QPushButton *add, *change;
     QLineEdit *iFirstName, *iLastName, *iAddress, *iEMail;

 #endif // ADDRESSVIEW_H

Copyright © 2008 Nokia Trademarks
Qt 4.4.3