summaryrefslogtreecommitdiffstats
path: root/doc/html/tabdialog-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tabdialog-example.html')
-rw-r--r--doc/html/tabdialog-example.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/tabdialog-example.html b/doc/html/tabdialog-example.html
index 22ef50441..d3509f6e6 100644
--- a/doc/html/tabdialog-example.html
+++ b/doc/html/tabdialog-example.html
@@ -52,11 +52,11 @@ file separated onto different tabs.
#ifndef TABDIALOG_H
#define TABDIALOG_H
-#include &lt;<a href="qtabdialog-h.html">ntqtabdialog.h</a>&gt;
+#include &lt;<a href="tqtabdialog-h.html">tqtabdialog.h</a>&gt;
#include &lt;<a href="tqstring-h.html">tqstring.h</a>&gt;
#include &lt;<a href="tqfileinfo-h.html">tqfileinfo.h</a>&gt;
-class TabDialog : public <a href="ntqtabdialog.html">TQTabDialog</a>
+class TabDialog : public <a href="tqtabdialog.html">TQTabDialog</a>
{
<a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a>
@@ -94,25 +94,25 @@ protected:
#include &lt;<a href="tqlabel-h.html">tqlabel.h</a>&gt;
#include &lt;<a href="tqlineedit-h.html">tqlineedit.h</a>&gt;
#include &lt;<a href="tqdatetime-h.html">tqdatetime.h</a>&gt;
-#include &lt;<a href="qbuttongroup-h.html">ntqbuttongroup.h</a>&gt;
+#include &lt;<a href="tqbuttongroup-h.html">tqbuttongroup.h</a>&gt;
#include &lt;<a href="tqcheckbox-h.html">tqcheckbox.h</a>&gt;
-#include &lt;<a href="qlistbox-h.html">ntqlistbox.h</a>&gt;
+#include &lt;<a href="tqlistbox-h.html">tqlistbox.h</a>&gt;
#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
<a name="f200"></a>TabDialog::TabDialog( <a href="tqwidget.html">TQWidget</a> *parent, const char *name, const <a href="tqstring.html">TQString</a> &amp;_filename )
- : <a href="ntqtabdialog.html">TQTabDialog</a>( parent, name ), filename( _filename ), fileinfo( filename )
+ : <a href="tqtabdialog.html">TQTabDialog</a>( parent, name ), filename( _filename ), fileinfo( filename )
{
setupTab1();
setupTab2();
setupTab3();
- <a href="tqobject.html#connect">connect</a>( this, TQ_SIGNAL( <a href="ntqtabdialog.html#applyButtonPressed">applyButtonPressed</a>() ), tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ) );
+ <a href="tqobject.html#connect">connect</a>( this, TQ_SIGNAL( <a href="tqtabdialog.html#applyButtonPressed">applyButtonPressed</a>() ), tqApp, TQ_SLOT( <a href="ntqapplication.html#quit">quit</a>() ) );
}
void <a name="f201"></a>TabDialog::setupTab1()
{
<a href="ntqvbox.html">TQVBox</a> *tab1 = new <a href="ntqvbox.html">TQVBox</a>( this );
-<a name="x53"></a> tab1-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
+<a name="x53"></a> tab1-&gt;<a href="tqframe.html#setMargin">setMargin</a>( 5 );
(void)new <a href="tqlabel.html">TQLabel</a>( "Filename:", tab1 );
<a href="tqlineedit.html">TQLineEdit</a> *fname = new <a href="tqlineedit.html">TQLineEdit</a>( filename, tab1 );
@@ -120,30 +120,30 @@ void <a name="f201"></a>TabDialog::setupTab1()
(void)new <a href="tqlabel.html">TQLabel</a>( "Path:", tab1 );
<a href="tqlabel.html">TQLabel</a> *path = new <a href="tqlabel.html">TQLabel</a>( fileinfo.dirPath( TRUE ), tab1 );
-<a name="x52"></a> path-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+<a name="x52"></a> path-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
(void)new <a href="tqlabel.html">TQLabel</a>( "Size:", tab1 );
ulong kb = (ulong)(fileinfo.size()/1024);
<a href="tqlabel.html">TQLabel</a> *size = new <a href="tqlabel.html">TQLabel</a>( TQString( "%1 KB" ).arg( kb ), tab1 );
- size-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ size-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
(void)new <a href="tqlabel.html">TQLabel</a>( "Last Read:", tab1 );
<a href="tqlabel.html">TQLabel</a> *lread = new <a href="tqlabel.html">TQLabel</a>( fileinfo.lastRead().toString(), tab1 );
- lread-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ lread-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
(void)new <a href="tqlabel.html">TQLabel</a>( "Last Modified:", tab1 );
<a href="tqlabel.html">TQLabel</a> *lmodif = new <a href="tqlabel.html">TQLabel</a>( fileinfo.lastModified().toString(), tab1 );
- lmodif-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ lmodif-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
- <a href="ntqtabdialog.html#addTab">addTab</a>( tab1, "General" );
+ <a href="tqtabdialog.html#addTab">addTab</a>( tab1, "General" );
}
void <a name="f202"></a>TabDialog::setupTab2()
{
<a href="ntqvbox.html">TQVBox</a> *tab2 = new <a href="ntqvbox.html">TQVBox</a>( this );
- tab2-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
+ tab2-&gt;<a href="tqframe.html#setMargin">setMargin</a>( 5 );
- <a href="ntqbuttongroup.html">TQButtonGroup</a> *bg = new <a href="ntqbuttongroup.html">TQButtonGroup</a>( 1, TQGroupBox::Horizontal, "Permissions", tab2 );
+ <a href="tqbuttongroup.html">TQButtonGroup</a> *bg = new <a href="tqbuttongroup.html">TQButtonGroup</a>( 1, TQGroupBox::Horizontal, "Permissions", tab2 );
<a href="tqcheckbox.html">TQCheckBox</a> *readable = new <a href="tqcheckbox.html">TQCheckBox</a>( "Readable", bg );
if ( fileinfo.isReadable() )
@@ -157,37 +157,37 @@ void <a name="f202"></a>TabDialog::setupTab2()
if ( fileinfo.isExecutable() )
executable-&gt;<a href="tqcheckbox.html#setChecked">setChecked</a>( TRUE );
- <a href="ntqbuttongroup.html">TQButtonGroup</a> *bg2 = new <a href="ntqbuttongroup.html">TQButtonGroup</a>( 2, TQGroupBox::Horizontal, "Owner", tab2 );
+ <a href="tqbuttongroup.html">TQButtonGroup</a> *bg2 = new <a href="tqbuttongroup.html">TQButtonGroup</a>( 2, TQGroupBox::Horizontal, "Owner", tab2 );
(void)new <a href="tqlabel.html">TQLabel</a>( "Owner", bg2 );
<a href="tqlabel.html">TQLabel</a> *owner = new <a href="tqlabel.html">TQLabel</a>( fileinfo.owner(), bg2 );
- owner-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ owner-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
(void)new <a href="tqlabel.html">TQLabel</a>( "Group", bg2 );
<a href="tqlabel.html">TQLabel</a> *group = new <a href="tqlabel.html">TQLabel</a>( fileinfo.group(), bg2 );
- group-&gt;<a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
+ group-&gt;<a href="tqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::Panel | TQFrame::Sunken );
- <a href="ntqtabdialog.html#addTab">addTab</a>( tab2, "Permissions" );
+ <a href="tqtabdialog.html#addTab">addTab</a>( tab2, "Permissions" );
}
void <a name="f203"></a>TabDialog::setupTab3()
{
<a href="ntqvbox.html">TQVBox</a> *tab3 = new <a href="ntqvbox.html">TQVBox</a>( this );
- tab3-&gt;<a href="ntqframe.html#setMargin">setMargin</a>( 5 );
+ tab3-&gt;<a href="tqframe.html#setMargin">setMargin</a>( 5 );
<a name="x54"></a> tab3-&gt;<a href="ntqhbox.html#setSpacing">setSpacing</a>( 5 );
(void)new <a href="tqlabel.html">TQLabel</a>( TQString( "Open %1 with:" ).arg( filename ), tab3 );
- <a href="ntqlistbox.html">TQListBox</a> *prgs = new <a href="ntqlistbox.html">TQListBox</a>( tab3 );
+ <a href="tqlistbox.html">TQListBox</a> *prgs = new <a href="tqlistbox.html">TQListBox</a>( tab3 );
for ( unsigned int i = 0; i &lt; 30; i++ ) {
<a href="tqstring.html">TQString</a> prg = TQString( "Application %1" ).arg( i );
-<a name="x55"></a> prgs-&gt;<a href="ntqlistbox.html#insertItem">insertItem</a>( prg );
+<a name="x55"></a> prgs-&gt;<a href="tqlistbox.html#insertItem">insertItem</a>( prg );
}
-<a name="x56"></a> prgs-&gt;<a href="ntqlistbox.html#setCurrentItem">setCurrentItem</a>( 3 );
+<a name="x56"></a> prgs-&gt;<a href="tqlistbox.html#setCurrentItem">setCurrentItem</a>( 3 );
(void)new <a href="tqcheckbox.html">TQCheckBox</a>( TQString( "Open files with the extension '%1' always with this application" ).arg( fileinfo.extension() ), tab3 );
- <a href="ntqtabdialog.html#addTab">addTab</a>( tab3, "Applications" );
+ <a href="tqtabdialog.html#addTab">addTab</a>( tab3, "Applications" );
}
</pre>