diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /korganizer/interfaces/calendar/calendardecoration.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/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 |