summaryrefslogtreecommitdiffstats
path: root/kexi/main/printing/kexisimpleprintingpagesetup.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/main/printing/kexisimpleprintingpagesetup.h')
-rw-r--r--kexi/main/printing/kexisimpleprintingpagesetup.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/kexi/main/printing/kexisimpleprintingpagesetup.h b/kexi/main/printing/kexisimpleprintingpagesetup.h
index e4e99bd5..b2fbc668 100644
--- a/kexi/main/printing/kexisimpleprintingpagesetup.h
+++ b/kexi/main/printing/kexisimpleprintingpagesetup.h
@@ -35,21 +35,22 @@ class KexiSimplePrintPreviewWindow;
- a single printing engine per part item regardless of a way how user started
(using 'File->Print' command or 'Print' button of the 'Page Setup' dialog)
*/
-class KexiSimplePrintingCommand : public QObject
+class KexiSimplePrintingCommand : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KexiSimplePrintingCommand(KexiMainWindow* mainWin, int objectId,
- QObject* parent = 0);
+ TQObject* tqparent = 0);
~KexiSimplePrintingCommand();
public slots:
bool print(const KexiSimplePrintingSettings& settings,
- const QString& aTitleText = QString::null);
- bool print(const QString& aTitleText = QString::null);
+ const TQString& aTitleText = TQString());
+ bool print(const TQString& aTitleText = TQString());
bool showPrintPreview(const KexiSimplePrintingSettings& settings,
- const QString& aTitleText = QString::null, bool reload = false);
+ const TQString& aTitleText = TQString(), bool reload = false);
// void setPrintPreviewNeedsReloading();
signals:
@@ -72,9 +73,10 @@ class KexiSimplePrintingCommand : public QObject
class KexiSimplePrintingPageSetup : public KexiViewBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, QWidget *parent, QMap<QString,QString>* args );
+ KexiSimplePrintingPageSetup( KexiMainWindow *mainWin, TQWidget *tqparent, TQMap<TQString,TQString>* args );
~KexiSimplePrintingPageSetup();
public slots:
@@ -83,9 +85,9 @@ class KexiSimplePrintingPageSetup : public KexiViewBase
signals:
void printItemRequested(KexiPart::Item* item,
- const KexiSimplePrintingSettings& settings, const QString& titleText);
+ const KexiSimplePrintingSettings& settings, const TQString& titleText);
void printPreviewForItemRequested(KexiPart::Item* item,
- const KexiSimplePrintingSettings& settings, const QString& titleText, bool reload);
+ const KexiSimplePrintingSettings& settings, const TQString& titleText, bool reload);
protected slots:
void slotOpenData();
@@ -95,7 +97,7 @@ class KexiSimplePrintingPageSetup : public KexiViewBase
void slotAddPageNumbersCheckboxToggled(bool set);
void slotAddDateTimeCheckboxToggled(bool set);
void slotAddTableBordersCheckboxToggled(bool set);
- void slotTitleTextChanged(const QString&);
+ void slotTitleTextChanged(const TQString&);
protected:
void setupPrintingCommand();
@@ -109,7 +111,7 @@ class KexiSimplePrintingPageSetup : public KexiViewBase
KoPageLayoutSize *m_pageLayoutWidget;
KexiPart::Item *m_item;
// KexiSimplePrintingCommand *m_command;
- QString m_origCaptionLabelText;
+ TQString m_origCaptionLabelText;
bool m_printPreviewNeedsReloading : 1;
};