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 | |
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')
-rw-r--r-- | korganizer/interfaces/calendar/calendardecoration.h | 20 | ||||
-rw-r--r-- | korganizer/interfaces/calendar/plugin.h | 10 |
2 files changed, 15 insertions, 15 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 diff --git a/korganizer/interfaces/calendar/plugin.h b/korganizer/interfaces/calendar/plugin.h index 478b86468..eb0f78927 100644 --- a/korganizer/interfaces/calendar/plugin.h +++ b/korganizer/interfaces/calendar/plugin.h @@ -30,14 +30,14 @@ class Plugin { public: static int interfaceVersion() { return 2; } - static QString serviceType() { return "Calendar/Plugin"; } + static TQString serviceType() { return "Calendar/Plugin"; } Plugin() {} virtual ~Plugin() {} - virtual QString info() = 0; + virtual TQString info() = 0; - virtual void configure( QWidget * ) {} + virtual void configure( TQWidget * ) {} }; class PluginFactory : public KLibFactory @@ -46,8 +46,8 @@ class PluginFactory : public KLibFactory virtual Plugin *create() = 0; protected: - virtual QObject *createObject( QObject *, const char *,const char *, - const QStringList & ) + virtual TQObject *createObject( TQObject *, const char *,const char *, + const TQStringList & ) { return 0; } |