summaryrefslogtreecommitdiffstats
path: root/doc/html/biff-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/biff-example.html')
-rw-r--r--doc/html/biff-example.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/biff-example.html b/doc/html/biff-example.html
index e81375db..3ad0b2dd 100644
--- a/doc/html/biff-example.html
+++ b/doc/html/biff-example.html
@@ -50,16 +50,16 @@ mail; it looks exactly like xbiff but is much shorter.
#ifndef BIFF_H
#define BIFF_H
-#include &lt;<a href="qwidget-h.html">ntqwidget.h</a>&gt;
+#include &lt;<a href="tqwidget-h.html">tqwidget.h</a>&gt;
#include &lt;<a href="qdatetime-h.html">ntqdatetime.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
-class Biff : public <a href="ntqwidget.html">TQWidget</a>
+class Biff : public <a href="tqwidget.html">TQWidget</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
public:
- Biff( <a href="ntqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
+ Biff( <a href="tqwidget.html">TQWidget</a> *parent=0, const char *name=0 );
protected:
void timerEvent( <a href="qtimerevent.html">TQTimerEvent</a> * );
@@ -103,8 +103,8 @@ how two images (<em>hasmail_bmp_data</em> and <em>nomail_bmp_data</em>, both fro
#include "bmp.cpp"
-<a name="f527"></a>Biff::Biff( <a href="ntqwidget.html">TQWidget</a> *parent, const char *name )
- : <a href="ntqwidget.html">TQWidget</a>( parent, name, WShowModal | WType_Dialog )
+<a name="f527"></a>Biff::Biff( <a href="tqwidget.html">TQWidget</a> *parent, const char *name )
+ : <a href="tqwidget.html">TQWidget</a>( parent, name, WShowModal | WType_Dialog )
{
<a href="ntqfileinfo.html">TQFileInfo</a> fi = TQString(getenv( "MAIL" ));
<a name="x1955"></a> if ( !fi.<a href="ntqfileinfo.html#exists">exists</a>() ) {
@@ -118,9 +118,9 @@ how two images (<em>hasmail_bmp_data</em> and <em>nomail_bmp_data</em>, both fro
<a href="tqobject.html#startTimer">startTimer</a>( 1000 );
}
- <a href="ntqwidget.html#setMinimumSize">setMinimumSize</a>( 48, 48 );
- <a href="ntqwidget.html#setMaximumSize">setMaximumSize</a>( 48, 48 );
- <a href="ntqwidget.html#resize">resize</a>( 48, 48 );
+ <a href="tqwidget.html#setMinimumSize">setMinimumSize</a>( 48, 48 );
+ <a href="tqwidget.html#setMaximumSize">setMaximumSize</a>( 48, 48 );
+ <a href="tqwidget.html#resize">resize</a>( 48, 48 );
hasNewMail.loadFromData( hasmail_bmp_data, hasmail_bmp_len );
noNewMail.loadFromData( nomail_bmp_data, nomail_bmp_len );
@@ -139,12 +139,12 @@ how two images (<em>hasmail_bmp_data</em> and <em>nomail_bmp_data</em>, both fro
if ( gotMail )
lastModified = fi.<a href="ntqfileinfo.html#lastModified">lastModified</a>();
gotMail = newState;
- <a href="ntqwidget.html#repaint">repaint</a>( FALSE );
+ <a href="tqwidget.html#repaint">repaint</a>( FALSE );
}
}
-void Biff::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * )
+void Biff::<a href="tqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintevent.html">TQPaintEvent</a> * )
{
if ( gotMail )
<a href="ntqimage.html#bitBlt">bitBlt</a>( this, 0, 0, &amp;hasNewMail );
@@ -153,7 +153,7 @@ void Biff::<a href="ntqwidget.html#paintEvent">paintEvent</a>( <a href="qpaintev
}
-<a name="x1960"></a>void Biff::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
+<a name="x1960"></a>void Biff::<a href="tqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
{
<a href="ntqfileinfo.html">TQFileInfo</a> fi( mailbox );
lastModified = fi.<a href="ntqfileinfo.html#lastModified">lastModified</a>();
@@ -181,7 +181,7 @@ int main( int argc, char ** argv )
<a href="ntqapplication.html">TQApplication</a> a( argc, argv );
Biff b;
a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;b );
- b.<a href="ntqwidget.html#show">show</a>();
+ b.<a href="tqwidget.html#show">show</a>();
return a.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>