summaryrefslogtreecommitdiffabout
path: root/kabc/distributionlistdialog.h
authorMichael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
committer Michael Krelin <hacker@klever.net>2007-07-04 11:23:42 (UTC)
commita08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff)
tree8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/distributionlistdialog.h
parent11edc920afe4f274c0964436633aa632c8288a40 (diff)
downloadkdepimpi-p1.zip
kdepimpi-p1.tar.gz
kdepimpi-p1.tar.bz2
initial public commit of qt4 portp1
Diffstat (limited to 'kabc/distributionlistdialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/distributionlistdialog.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kabc/distributionlistdialog.h b/kabc/distributionlistdialog.h
index b6d3c80..3627431 100644
--- a/kabc/distributionlistdialog.h
+++ b/kabc/distributionlistdialog.h
@@ -17,23 +17,25 @@
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef KABC_DISTRIBUTIONLISTDIALOG_H
#define KABC_DISTRIBUTIONLISTDIALOG_H
#include <qwidget.h>
+//Added by qt3to4:
+#include <QLabel>
#include <kdialogbase.h>
-class QListView;
+class Q3ListView;
class QLabel;
class QComboBox;
-class QButtonGroup;
+class Q3ButtonGroup;
namespace KABC {
class AddressBook;
class DistributionListEditorWidget;
class DistributionListManager;
/**
@@ -88,17 +90,17 @@ class EmailSelector : public KDialogBase
QWidget *parent );
QString selected();
static QString getEmail( const QStringList &emails, const QString &current,
QWidget *parent );
private:
- QButtonGroup *mButtonGroup;
+ Q3ButtonGroup *mButtonGroup;
};
/**
@short Helper class
*/
class DistributionListEditorWidget : public QWidget
{
Q_OBJECT
@@ -119,18 +121,18 @@ class DistributionListEditorWidget : public QWidget
void updateNameCombo();
void slotSelectionEntryViewChanged();
void slotSelectionAddresseeViewChanged();
void save();
private:
QComboBox *mNameCombo;
QLabel *mListLabel;
- QListView *mEntryView;
- QListView *mAddresseeView;
+ Q3ListView *mEntryView;
+ Q3ListView *mAddresseeView;
AddressBook *mAddressBook;
DistributionListManager *mManager;
QPushButton *mNewButton, *mEditButton, *mRemoveButton;
QPushButton *mChangeEmailButton, *mRemoveEntryButton, *mAddEntryButton;
struct Data;
Data *d;