summaryrefslogtreecommitdiffstats
path: root/korganizer/printing/calprintdefaultplugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/printing/calprintdefaultplugins.h')
-rw-r--r--korganizer/printing/calprintdefaultplugins.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/korganizer/printing/calprintdefaultplugins.h b/korganizer/printing/calprintdefaultplugins.h
index 463312ff2..79a909a87 100644
--- a/korganizer/printing/calprintdefaultplugins.h
+++ b/korganizer/printing/calprintdefaultplugins.h
@@ -42,8 +42,8 @@ class CalPrintIncidence : public CalPrintPluginBase
public:
CalPrintIncidence();
virtual ~CalPrintIncidence();
- virtual QString description() { return i18n("Print &incidence"); }
- virtual QString info() { return i18n("Prints an incidence on one page"); }
+ virtual TQString description() { return i18n("Print &incidence"); }
+ virtual TQString info() { return i18n("Prints an incidence on one page"); }
virtual int sortID() { return CalPrinterBase::Incidence; }
// Enable the Print Incidence option only if there are selected incidences.
virtual bool enabled()
@@ -54,19 +54,19 @@ class CalPrintIncidence : public CalPrintPluginBase
return false;
}
}
- virtual QWidget *createConfigWidget(QWidget*);
+ virtual TQWidget *createConfigWidget(TQWidget*);
virtual KPrinter::Orientation defaultOrientation()
{ return KPrinter::Portrait; }
public:
- void print( QPainter &p, int width, int height );
+ void print( TQPainter &p, int width, int height );
virtual void readSettingsWidget();
virtual void setSettingsWidget();
virtual void loadConfig();
virtual void saveConfig();
protected:
- int printCaptionAndText( QPainter &p, const QRect &box, const QString &caption,
- const QString &text, QFont captionFont, QFont textFont );
+ int printCaptionAndText( TQPainter &p, const TQRect &box, const TQString &caption,
+ const TQString &text, TQFont captionFont, TQFont textFont );
protected:
@@ -82,22 +82,22 @@ class CalPrintDay : public CalPrintPluginBase
public:
CalPrintDay();
virtual ~CalPrintDay();
- virtual QString description() { return i18n("Print da&y"); }
- virtual QString info() { return i18n("Prints all events of a single day on one page"); }
+ virtual TQString description() { return i18n("Print da&y"); }
+ virtual TQString info() { return i18n("Prints all events of a single day on one page"); }
virtual int sortID() { return CalPrinterBase::Day; }
virtual bool enabled() { return true; }
- virtual QWidget *createConfigWidget( QWidget* );
+ virtual TQWidget *createConfigWidget( TQWidget* );
public:
- void print(QPainter &p, int width, int height);
+ void print(TQPainter &p, int width, int height);
virtual void readSettingsWidget();
virtual void setSettingsWidget();
virtual void loadConfig();
virtual void saveConfig();
- virtual void setDateRange( const QDate& from, const QDate& to );
+ virtual void setDateRange( const TQDate& from, const TQDate& to );
protected:
- QTime mStartTime, mEndTime;
+ TQTime mStartTime, mEndTime;
bool mIncludeTodos;
bool mIncludeAllEvents;
};
@@ -107,27 +107,27 @@ class CalPrintWeek : public CalPrintPluginBase
public:
CalPrintWeek();
virtual ~CalPrintWeek();
- virtual QString description() { return i18n("Print &week"); }
- virtual QString info() { return i18n("Prints all events of one week on one page"); }
+ virtual TQString description() { return i18n("Print &week"); }
+ virtual TQString info() { return i18n("Prints all events of one week on one page"); }
virtual int sortID() { return CalPrinterBase::Week; }
virtual bool enabled() { return true; }
- virtual QWidget *createConfigWidget(QWidget*);
+ virtual TQWidget *createConfigWidget(TQWidget*);
/**
Returns the default orientation for the eWeekPrintType.
*/
virtual KPrinter::Orientation defaultOrientation();
public:
- void print(QPainter &p, int width, int height);
+ void print(TQPainter &p, int width, int height);
virtual void readSettingsWidget();
virtual void setSettingsWidget();
virtual void loadConfig();
virtual void saveConfig();
- virtual void setDateRange( const QDate& from, const QDate& to );
+ virtual void setDateRange( const TQDate& from, const TQDate& to );
protected:
enum eWeekPrintType { Filofax=0, Timetable, SplitWeek } mWeekPrintType;
- QTime mStartTime, mEndTime;
+ TQTime mStartTime, mEndTime;
bool mIncludeTodos;
};
@@ -136,20 +136,20 @@ class CalPrintMonth : public CalPrintPluginBase
public:
CalPrintMonth();
virtual ~CalPrintMonth();
- virtual QString description() { return i18n("Print mont&h"); }
- virtual QString info() { return i18n("Prints all events of one month on one page"); }
+ virtual TQString description() { return i18n("Print mont&h"); }
+ virtual TQString info() { return i18n("Prints all events of one month on one page"); }
virtual int sortID() { return CalPrinterBase::Month; }
virtual bool enabled() { return true; }
- virtual QWidget *createConfigWidget(QWidget*);
+ virtual TQWidget *createConfigWidget(TQWidget*);
virtual KPrinter::Orientation defaultOrientation() { return KPrinter::Landscape; }
public:
- void print(QPainter &p, int width, int height);
+ void print(TQPainter &p, int width, int height);
virtual void readSettingsWidget();
virtual void setSettingsWidget();
virtual void loadConfig();
virtual void saveConfig();
- virtual void setDateRange( const QDate& from, const QDate& to );
+ virtual void setDateRange( const TQDate& from, const TQDate& to );
protected:
bool mWeekNumbers;
@@ -163,21 +163,21 @@ class CalPrintTodos : public CalPrintPluginBase
public:
CalPrintTodos();
virtual ~CalPrintTodos();
- virtual QString description() { return i18n("Print to-&dos"); }
- virtual QString info() { return i18n("Prints all to-dos in a (tree-like) list"); }
+ virtual TQString description() { return i18n("Print to-&dos"); }
+ virtual TQString info() { return i18n("Prints all to-dos in a (tree-like) list"); }
virtual int sortID() { return CalPrinterBase::Todolist; }
virtual bool enabled() { return true; }
- virtual QWidget *createConfigWidget(QWidget*);
+ virtual TQWidget *createConfigWidget(TQWidget*);
public:
- void print( QPainter &p, int width, int height );
+ void print( TQPainter &p, int width, int height );
virtual void readSettingsWidget();
virtual void setSettingsWidget();
virtual void loadConfig();
virtual void saveConfig();
protected:
- QString mPageTitle;
+ TQString mPageTitle;
enum eTodoPrintType {
TodosAll = 0, TodosUnfinished, TodosDueRange