summaryrefslogtreecommitdiffstats
path: root/korganizer/resourceview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/resourceview.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/resourceview.h')
-rw-r--r--korganizer/resourceview.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/korganizer/resourceview.h b/korganizer/resourceview.h
index c8c6a6c66..932c81885 100644
--- a/korganizer/resourceview.h
+++ b/korganizer/resourceview.h
@@ -28,7 +28,7 @@
#include "calendarview.h"
#include <libkcal/resourcecalendar.h>
-#include <qlistview.h>
+#include <tqlistview.h>
namespace KCal {
class CalendarResources;
@@ -44,7 +44,7 @@ class ResourceViewFactory : public CalendarViewExtension::Factory
ResourceViewFactory( KCal::CalendarResources *calendar,
CalendarView *view );
- CalendarViewExtension *create( QWidget * );
+ CalendarViewExtension *create( TQWidget * );
ResourceView *resourceView() const;
@@ -60,35 +60,35 @@ class ResourceItem : public QCheckListItem
public:
ResourceItem( KCal::ResourceCalendar *resource, ResourceView *view,
KListView *parent );
- ResourceItem( KCal::ResourceCalendar *resource, const QString& sub,
- const QString& label, ResourceView *view,
+ ResourceItem( KCal::ResourceCalendar *resource, const TQString& sub,
+ const TQString& label, ResourceView *view,
ResourceItem* parent );
KCal::ResourceCalendar *resource() { return mResource; }
- const QString& resourceIdentifier() { return mResourceIdentifier; }
+ const TQString& resourceIdentifier() { return mResourceIdentifier; }
bool isSubresource() const { return mIsSubresource; }
void createSubresourceItems();
void setStandardResource( bool std );
void update();
- virtual void paintCell(QPainter *p, const QColorGroup &cg,
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg,
int column, int width, int alignment);
- void setResourceColor(QColor& color);
- QColor &resourceColor() {return mResourceColor;}
+ void setResourceColor(TQColor& color);
+ TQColor &resourceColor() {return mResourceColor;}
protected:
void stateChange( bool active );
void setGuiState();
- QColor mResourceColor;
+ TQColor mResourceColor;
private:
KCal::ResourceCalendar *mResource;
ResourceView *mView;
bool mBlockStateChange;
bool mIsSubresource;
- QString mResourceIdentifier;
+ TQString mResourceIdentifier;
bool mSubItemsCreated;
bool mIsStandardResource;
};
@@ -100,7 +100,7 @@ class ResourceView : public CalendarViewExtension
{
Q_OBJECT
public:
- ResourceView( KCal::CalendarResources *calendar, QWidget *parent = 0,
+ ResourceView( KCal::CalendarResources *calendar, TQWidget *parent = 0,
const char *name = 0 );
~ResourceView();
@@ -123,22 +123,22 @@ class ResourceView : public CalendarViewExtension
protected:
ResourceItem *findItem( ResourceCalendar * );
- ResourceItem *findItemByIdentifier( const QString& id );
+ ResourceItem *findItemByIdentifier( const TQString& id );
ResourceItem *currentItem();
protected slots:
void addResource();
void removeResource();
void editResource();
- void currentChanged( QListViewItem* );
- void slotSubresourceAdded( ResourceCalendar *, const QString &,
- const QString &resource,const QString& label );
+ void currentChanged( TQListViewItem* );
+ void slotSubresourceAdded( ResourceCalendar *, const TQString &,
+ const TQString &resource,const TQString& label );
- void slotSubresourceRemoved( ResourceCalendar *, const QString &,
- const QString & );
+ void slotSubresourceRemoved( ResourceCalendar *, const TQString &,
+ const TQString & );
void closeResource( ResourceCalendar * );
- void contextMenuRequested ( QListViewItem *i, const QPoint &pos, int );
+ void contextMenuRequested ( TQListViewItem *i, const TQPoint &pos, int );
void assignColor();
void disableColor();
@@ -153,10 +153,10 @@ class ResourceView : public CalendarViewExtension
private:
KListView *mListView;
KCal::CalendarResources *mCalendar;
- QPushButton *mAddButton;
- QPushButton *mDeleteButton;
- QPushButton *mEditButton;
- QPtrList<ResourceCalendar> mResourcesToClose;
+ TQPushButton *mAddButton;
+ TQPushButton *mDeleteButton;
+ TQPushButton *mEditButton;
+ TQPtrList<ResourceCalendar> mResourcesToClose;
};
#endif