diff options
Diffstat (limited to 'doc/kugar')
-rw-r--r-- | doc/kugar/progguide.docbook | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/doc/kugar/progguide.docbook b/doc/kugar/progguide.docbook index 293096cc..97f4e471 100644 --- a/doc/kugar/progguide.docbook +++ b/doc/kugar/progguide.docbook @@ -173,7 +173,7 @@ Call this before opening the new report.</funcsynopsisinfo> <funcsynopsis> <funcprototype> <funcdef>bool <function>setReportData</function></funcdef> -<paramdef>const QString &<parameter>data_file_name</parameter></paramdef> +<paramdef>const TQString &<parameter>data_file_name</parameter></paramdef> </funcprototype> <funcsynopsisinfo>Sets report data from <replaceable>data_file_name</replaceable> file.</funcsynopsisinfo> </funcsynopsis> @@ -181,12 +181,12 @@ Call this before opening the new report.</funcsynopsisinfo> <funcsynopsis> <funcprototype> <funcdef>bool <function>setReportData</function></funcdef> -<paramdef>const QIODevice &<parameter>data_io_device</parameter></paramdef> +<paramdef>const TQIODevice &<parameter>data_io_device</parameter></paramdef> </funcprototype> <funcsynopsisinfo>Sets report data from <replaceable>data_io_device</replaceable> file. -IO device can be any successor of the <classname>QIODevice</classname> class. +IO device can be any successor of the <classname>TQIODevice</classname> class. For example, to fetch records directly from the database, -create a <classname>QIODevice</classname> successor and redefine all necessary +create a <classname>TQIODevice</classname> successor and redefine all necessary functionality. </funcsynopsisinfo> </funcsynopsis> @@ -194,7 +194,7 @@ functionality. <funcsynopsis> <funcprototype> <funcdef>bool <function>setReportTemplate</function></funcdef> -<paramdef>const QString &<parameter>template_file_name</parameter></paramdef> +<paramdef>const TQString &<parameter>template_file_name</parameter></paramdef> </funcprototype> <funcsynopsisinfo>Sets report template from <replaceable>template_file_name</replaceable> file.</funcsynopsisinfo> </funcsynopsis> @@ -202,12 +202,12 @@ functionality. <funcsynopsis> <funcprototype> <funcdef>bool <function>setReportTemplate</function></funcdef> -<paramdef>const QIODevice &<parameter>template_io_device</parameter></paramdef> +<paramdef>const TQIODevice &<parameter>template_io_device</parameter></paramdef> </funcprototype> <funcsynopsisinfo>Sets report template from <replaceable>template_io_device</replaceable> file. -IO device can be any successor of the <classname>QIODevice</classname> class. +IO device can be any successor of the <classname>TQIODevice</classname> class. For example, to obtain a report template from network storage or database, -create a QIODevice successor and redefine all necessary functionality. +create a TQIODevice successor and redefine all necessary functionality. </funcsynopsisinfo> </funcsynopsis> @@ -284,14 +284,14 @@ public: KugarWidgetPlugin (); QStringList keys () const; - QWidget *create (const QString & classname, QWidget * parent = + TQWidget *create (const TQString & classname, TQWidget * parent = 0, const char *name = 0); - QString group (const QString &) const; - QIconSet iconSet (const QString &) const; - QString includeFile (const QString &) const; - QString toolTip (const QString &) const; - QString whatsThis (const QString &) const; - bool isContainer (const QString &) const; + TQString group (const TQString &) const; + QIconSet iconSet (const TQString &) const; + TQString includeFile (const TQString &) const; + TQString toolTip (const TQString &) const; + TQString whatsThis (const TQString &) const; + bool isContainer (const TQString &) const; }; </programlisting> </sect3> @@ -468,7 +468,7 @@ QStringList KugarWidgetPlugin::keys () const return list; } -QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, +TQWidget* KugarWidgetPlugin::create (const TQString & key, TQWidget * parent, const char *name) { if (key == "KReportViewer") @@ -476,40 +476,40 @@ QWidget* KugarWidgetPlugin::create (const QString & key, QWidget * parent, return 0; } -QString KugarWidgetPlugin::group (const QString & feature) const +TQString KugarWidgetPlugin::group (const TQString & feature) const { if (feature == "KReportViewer") return "Display"; - return QString::null; + return TQString::null; } -QIconSet KugarWidgetPlugin::iconSet (const QString &) const +QIconSet KugarWidgetPlugin::iconSet (const TQString &) const { return QIconSet (QPixmap (kugar_pixmap)); } -QString KugarWidgetPlugin::includeFile (const QString & feature) const +TQString KugarWidgetPlugin::includeFile (const TQString & feature) const { if (feature == "KReportViewer") return "kugar.h"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::toolTip (const QString & feature) const +TQString KugarWidgetPlugin::toolTip (const TQString & feature) const { if (feature == "KReportViewer") return "Kugar report viewer widget"; - return QString::null; + return TQString::null; } -QString KugarWidgetPlugin::whatsThis (const QString & feature) const +TQString KugarWidgetPlugin::whatsThis (const TQString & feature) const { if (feature == "KReportViewer") return "A widget to view xml reports"; - return QString::null; + return TQString::null; } -bool KugarWidgetPlugin::isContainer (const QString &) const +bool KugarWidgetPlugin::isContainer (const TQString &) const { return FALSE; } |