[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/kalarm
From:       David Jarvie <djarvie () kde ! org>
Date:       2010-11-28 0:20:50
Message-ID: 20101128002050.9C26AAC8A3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1201522 by djarvie:

Use Q_OBJECT in all classes inherited from QObject 


 M  +1 -0      alarmlistfiltermodel.h  
 M  +2 -0      birthdaymodel.h  
 M  +1 -0      collectionmodel.h  
 M  +2 -1      prefdlg_p.h  
 M  +5 -1      recurrenceeditprivate.h  
 M  +3 -0      resourcemodelview.h  
 M  +1 -0      templatelistfiltermodel.h  


--- trunk/KDE/kdepim/kalarm/alarmlistfiltermodel.h #1201521:1201522
@@ -29,6 +29,7 @@
 
 class AlarmListFilterModel : public EventListFilterModel
 {
+		Q_OBJECT
 	public:
 		enum { ColumnCount = 6 };
 
--- trunk/KDE/kdepim/kalarm/birthdaymodel.h #1201521:1201522
@@ -39,6 +39,7 @@
  */
 class BirthdayModel : public Akonadi::ContactsTreeModel
 {
+        Q_OBJECT
     public:
 	enum {   // data columns
 	    NameColumn, DateColumn,
@@ -68,6 +69,7 @@
 
 class BirthdaySortModel : public QSortFilterProxyModel
 {
+        Q_OBJECT
     public:
         BirthdaySortModel(QObject* parent = 0);
 
--- trunk/KDE/kdepim/kalarm/collectionmodel.h #1201521:1201522
@@ -112,6 +112,7 @@
 =============================================================================*/
 class CollectionView : public QListView
 {
+        Q_OBJECT
     public:
         explicit CollectionView(CollectionFilterCheckListModel*, QWidget* parent = \
                0);
         CollectionFilterCheckListModel* collectionModel() const  { return \
                static_cast<CollectionFilterCheckListModel*>(model()); }
--- trunk/KDE/kdepim/kalarm/prefdlg_p.h #1201521:1201522
@@ -1,7 +1,7 @@
 /*
  *  prefdlg_p.h  -  private classes for program preferences dialog
  *  Program:  kalarm
- *  Copyright  © 2001-2009 by David Jarvie <djarvie@kde.org>
+ *  Copyright  © 2001-2010 by David Jarvie <djarvie@kde.org>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -49,6 +49,7 @@
 // Base class for each tab in the Preferences dialog
 class PrefsTabBase : public StackedScrollWidget
 {
+		Q_OBJECT
 	public:
 		PrefsTabBase(StackedScrollGroup*);
 
--- trunk/KDE/kdepim/kalarm/recurrenceeditprivate.h #1201521:1201522
@@ -1,7 +1,7 @@
 /*
  *  recurrenceeditprivate.h  -  private classes for recurrenceedit.cpp
  *  Program:  kalarm
- *  Copyright  © 2003,2005,2007,2009 by David Jarvie <djarvie@kde.org>
+ *  Copyright  © 2003,2005,2007,2009,2010 by David Jarvie <djarvie@kde.org>
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -42,6 +42,7 @@
 
 class NoRule : public QFrame
 {
+		Q_OBJECT
 	public:
 		explicit NoRule(QWidget* parent) : QFrame(parent) { }
 		virtual int      frequency() const       { return 0; }
@@ -103,6 +104,7 @@
 // Daily rule choices
 class DailyRule : public DayWeekRule
 {
+		Q_OBJECT
 	public:
 		DailyRule(bool readOnly, QWidget* parent);
 };
@@ -110,6 +112,7 @@
 // Weekly rule choices
 class WeeklyRule : public DayWeekRule
 {
+		Q_OBJECT
 	public:
 		WeeklyRule(bool readOnly, QWidget* parent);
 };
@@ -162,6 +165,7 @@
 // Monthly rule choices
 class MonthlyRule : public MonthYearRule
 {
+		Q_OBJECT
 	public:
 		MonthlyRule(bool readOnly, QWidget* parent);
 };
--- trunk/KDE/kdepim/kalarm/resourcemodelview.h #1201521:1201522
@@ -69,6 +69,7 @@
 
 class ResourceFilterModel : public QSortFilterProxyModel
 {
+		Q_OBJECT
 	public:
 		ResourceFilterModel(QAbstractItemModel* baseModel, QObject* parent);
 		void           setFilter(KAlarm::CalEvent::Type);
@@ -87,6 +88,7 @@
 
 class ResourceView : public QListView
 {
+		Q_OBJECT
 	public:
 		ResourceView(QWidget* parent = 0)  : QListView(parent) {}
 		virtual void   setModel(QAbstractItemModel*);
@@ -103,6 +105,7 @@
 
 class ResourceDelegate : public QItemDelegate
 {
+		Q_OBJECT
 	public:
 		ResourceDelegate(ResourceView* parent = 0)  : QItemDelegate(parent) {}
 		virtual bool editorEvent(QEvent*, QAbstractItemModel*, const \
                QStyleOptionViewItem&, const QModelIndex&);
--- trunk/KDE/kdepim/kalarm/templatelistfiltermodel.h #1201521:1201522
@@ -28,6 +28,7 @@
 
 class TemplateListFilterModel : public EventListFilterModel
 {
+		Q_OBJECT
 	public:
 		enum {   // data columns
 			TypeColumn, TemplateNameColumn,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic