diff options
Diffstat (limited to 'korganizer/interfaces/calendar/calendardecoration.h')
-rw-r--r-- | korganizer/interfaces/calendar/calendardecoration.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/interfaces/calendar/calendardecoration.h b/korganizer/interfaces/calendar/calendardecoration.h index a6f487b7b..1653edb48 100644 --- a/korganizer/interfaces/calendar/calendardecoration.h +++ b/korganizer/interfaces/calendar/calendardecoration.h @@ -21,9 +21,9 @@ #ifndef KORG_CALENDARDECORATION_H #define KORG_CALENDARDECORATION_H -#include <qstring.h> -#include <qdatetime.h> -#include <qpixmap.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqpixmap.h> #include <klibloader.h> @@ -41,9 +41,9 @@ class CalendarDecoration : public Plugin { public: static int interfaceVersion() { return 2; } - static QString serviceType() { return "Calendar/Decoration"; } + static TQString serviceType() { return "Calendar/Decoration"; } - typedef QPtrList<CalendarDecoration> List; + typedef TQPtrList<CalendarDecoration> List; CalendarDecoration() {} virtual ~CalendarDecoration() {} @@ -51,26 +51,26 @@ class CalendarDecoration : public Plugin /** Return a short text for a given date, ususally only a few words. */ - virtual QString shortText( const QDate & ) { return QString::null; } + virtual TQString shortText( const TQDate & ) { return TQString::null; } /** Return along text for a given date. This text can be of any length, but usually it will have one or a few paragraphs. */ - virtual QString longText( const QDate & ) { return QString::null; } + virtual TQString longText( const TQDate & ) { return TQString::null; } /** Return a small pixmap. The size should be something like 30x30 pixels. */ - virtual QPixmap smallPixmap( const QDate &) { return QPixmap(); } + virtual TQPixmap smallPixmap( const TQDate &) { return TQPixmap(); } /** Return a large pixmap. The size should be something like 300x300 pixels. */ - virtual QPixmap largePixmap( const QDate &) { return QPixmap(); } + virtual TQPixmap largePixmap( const TQDate &) { return TQPixmap(); } /** Return a small widget. It should have the size of a pushbutton. */ - virtual QWidget *smallWidget( QWidget *, const QDate & ) { return 0; } + virtual TQWidget *smallWidget( TQWidget *, const TQDate & ) { return 0; } }; class CalendarDecorationFactory : public PluginFactory |