summaryrefslogtreecommitdiffstats
path: root/korganizer/resourceview.h
diff options
context:
space:
mode:
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