summaryrefslogtreecommitdiffstats
path: root/tqtinterface/qt4/tools/assistant
diff options
context:
space:
mode:
Diffstat (limited to 'tqtinterface/qt4/tools/assistant')
-rw-r--r--tqtinterface/qt4/tools/assistant/finddialog.ui.h4
-rw-r--r--tqtinterface/qt4/tools/assistant/helpdialogimpl.cpp4
-rw-r--r--tqtinterface/qt4/tools/assistant/helpdialogimpl.h6
-rw-r--r--tqtinterface/qt4/tools/assistant/helpwindow.cpp4
-rw-r--r--tqtinterface/qt4/tools/assistant/helpwindow.h2
-rw-r--r--tqtinterface/qt4/tools/assistant/lib/tqassistantclient.cpp6
-rw-r--r--tqtinterface/qt4/tools/assistant/lib/tqassistantclient.h2
-rw-r--r--tqtinterface/qt4/tools/assistant/main.cpp12
-rw-r--r--tqtinterface/qt4/tools/assistant/settingsdialogimpl.cpp4
-rw-r--r--tqtinterface/qt4/tools/assistant/settingsdialogimpl.h2
-rw-r--r--tqtinterface/qt4/tools/assistant/tabbedbrowser.ui.h2
-rw-r--r--tqtinterface/qt4/tools/assistant/topicchooserimpl.cpp8
-rw-r--r--tqtinterface/qt4/tools/assistant/topicchooserimpl.h4
13 files changed, 30 insertions, 30 deletions
diff --git a/tqtinterface/qt4/tools/assistant/finddialog.ui.h b/tqtinterface/qt4/tools/assistant/finddialog.ui.h
index 9204cd7..c95c413 100644
--- a/tqtinterface/qt4/tools/assistant/finddialog.ui.h
+++ b/tqtinterface/qt4/tools/assistant/finddialog.ui.h
@@ -90,7 +90,7 @@ void FindDialog::doFind(bool forward)
MainWindow* FindDialog::mainWindow()
{
- return (MainWindow*) tqparent();
+ return (MainWindow*) parent();
}
bool FindDialog::hasFindExpression()
@@ -103,6 +103,6 @@ void FindDialog::statusMessage(const TQString &message)
if (isVisible())
sb->message(message);
else
- ((MainWindow*) tqparent())->statusBar()->message(message, 2000);
+ ((MainWindow*) parent())->statusBar()->message(message, 2000);
}
diff --git a/tqtinterface/qt4/tools/assistant/helpdialogimpl.cpp b/tqtinterface/qt4/tools/assistant/helpdialogimpl.cpp
index 8c2e0df..db7b0af 100644
--- a/tqtinterface/qt4/tools/assistant/helpdialogimpl.cpp
+++ b/tqtinterface/qt4/tools/assistant/helpdialogimpl.cpp
@@ -172,8 +172,8 @@ TQString HelpNavigationContentsItem::link() const
-HelpDialog::HelpDialog( TQWidget *tqparent, MainWindow *h )
- : HelpDialogBase( tqparent, 0, FALSE ), lwClosed( FALSE ), help( h )
+HelpDialog::HelpDialog( TQWidget *parent, MainWindow *h )
+ : HelpDialogBase( parent, 0, FALSE ), lwClosed( FALSE ), help( h )
{
}
diff --git a/tqtinterface/qt4/tools/assistant/helpdialogimpl.h b/tqtinterface/qt4/tools/assistant/helpdialogimpl.h
index 13b4c51..6dd5c62 100644
--- a/tqtinterface/qt4/tools/assistant/helpdialogimpl.h
+++ b/tqtinterface/qt4/tools/assistant/helpdialogimpl.h
@@ -69,8 +69,8 @@ class SearchValidator : public TQValidator
Q_OBJECT
TQ_OBJECT
public:
- SearchValidator( TQObject *tqparent, const char *name = 0 )
- : TQValidator( tqparent, name ) {}
+ SearchValidator( TQObject *parent, const char *name = 0 )
+ : TQValidator( parent, name ) {}
~SearchValidator() {}
TQValidator::State validate( TQString &str, int & ) const;
};
@@ -94,7 +94,7 @@ class HelpDialog : public HelpDialogBase
TQ_OBJECT
public:
- HelpDialog( TQWidget *tqparent, MainWindow *h );
+ HelpDialog( TQWidget *parent, MainWindow *h );
TQString titleOfLink( const TQString &link );
bool eventFilter( TQObject *, TQEvent * );
diff --git a/tqtinterface/qt4/tools/assistant/helpwindow.cpp b/tqtinterface/qt4/tools/assistant/helpwindow.cpp
index 25d774d..bf338a9 100644
--- a/tqtinterface/qt4/tools/assistant/helpwindow.cpp
+++ b/tqtinterface/qt4/tools/assistant/helpwindow.cpp
@@ -55,8 +55,8 @@
#include <windows.h>
#endif
-HelpWindow::HelpWindow( MainWindow *w, TQWidget *tqparent, const char *name )
- : TQTextBrowser( tqparent, name ), mw( w ), blockScroll( FALSE ),
+HelpWindow::HelpWindow( MainWindow *w, TQWidget *parent, const char *name )
+ : TQTextBrowser( parent, name ), mw( w ), blockScroll( FALSE ),
shiftPressed( FALSE ), newWindow( FALSE )
{
connect(this, TQT_SIGNAL(forwardAvailable(bool)), this, TQT_SLOT(updateForward(bool)));
diff --git a/tqtinterface/qt4/tools/assistant/helpwindow.h b/tqtinterface/qt4/tools/assistant/helpwindow.h
index a00774f..5ae2d5e 100644
--- a/tqtinterface/qt4/tools/assistant/helpwindow.h
+++ b/tqtinterface/qt4/tools/assistant/helpwindow.h
@@ -46,7 +46,7 @@ class HelpWindow : public TQTextBrowser
Q_OBJECT
TQ_OBJECT
public:
- HelpWindow( MainWindow *m, TQWidget *tqparent = 0, const char *name = 0 );
+ HelpWindow( MainWindow *m, TQWidget *parent = 0, const char *name = 0 );
void setSource( const TQString &name );
TQPopupMenu *createPopupMenu( const TQPoint& pos );
void blockScrolling( bool b );
diff --git a/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.cpp b/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.cpp
index 4478642..b642bc3 100644
--- a/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.cpp
+++ b/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.cpp
@@ -128,11 +128,11 @@ static TQAssistantClientPrivate *data( const TQAssistantClient *client, bool cre
path to the TQt Assistant executable. If \a path is an empty
string the system path (\c{%PATH%} or \c $PATH) is used.
- The assistant client object is a child of \a tqparent and is called
+ The assistant client object is a child of \a parent and is called
\a name.
*/
-TQAssistantClient::TQAssistantClient( const TQString &path, TQObject *tqparent, const char *name )
- : TQObject( tqparent, name ), host ( "localhost" )
+TQAssistantClient::TQAssistantClient( const TQString &path, TQObject *parent, const char *name )
+ : TQObject( parent, name ), host ( "localhost" )
{
if ( path.isEmpty() )
assistantCommand = "assistant";
diff --git a/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.h b/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.h
index 64b95d9..faf3351 100644
--- a/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.h
+++ b/tqtinterface/qt4/tools/assistant/lib/tqassistantclient.h
@@ -46,7 +46,7 @@ class TQAssistantClient : public TQObject
Q_PROPERTY( bool open READ isOpen )
public:
- TQAssistantClient( const TQString &path, TQObject *tqparent = 0, const char *name = 0 );
+ TQAssistantClient( const TQString &path, TQObject *parent = 0, const char *name = 0 );
~TQAssistantClient();
bool isOpen() const;
diff --git a/tqtinterface/qt4/tools/assistant/main.cpp b/tqtinterface/qt4/tools/assistant/main.cpp
index 8b60a9e..2c861c8 100644
--- a/tqtinterface/qt4/tools/assistant/main.cpp
+++ b/tqtinterface/qt4/tools/assistant/main.cpp
@@ -61,7 +61,7 @@ class AssistantSocket : public TQSocket
Q_OBJECT
TQ_OBJECT
public:
- AssistantSocket( int sock, TQObject *tqparent = 0 );
+ AssistantSocket( int sock, TQObject *parent = 0 );
~AssistantSocket() {}
Q_SIGNALS:
@@ -78,7 +78,7 @@ class AssistantServer : public TQServerSocket
Q_OBJECT
TQ_OBJECT
public:
- AssistantServer( TQObject* tqparent = 0 );
+ AssistantServer( TQObject* parent = 0 );
void newConnection( int socket );
TQ_UINT16 getPort() const;
@@ -91,8 +91,8 @@ private:
};
-AssistantSocket::AssistantSocket( int sock, TQObject *tqparent )
- : TQSocket( tqparent, 0 )
+AssistantSocket::AssistantSocket( int sock, TQObject *parent )
+ : TQSocket( parent, 0 )
{
connect( this, TQT_SIGNAL( readyRead() ),
TQT_SLOT( readClient() ) );
@@ -118,8 +118,8 @@ void AssistantSocket::connectionClosed()
delete this;
}
-AssistantServer::AssistantServer( TQObject *tqparent )
- : TQServerSocket( 0x7f000001, 0, 1, tqparent )
+AssistantServer::AssistantServer( TQObject *parent )
+ : TQServerSocket( 0x7f000001, 0, 1, parent )
{
if ( !ok() ) {
TQMessageBox::critical( 0, tr( "TQt Assistant" ),
diff --git a/tqtinterface/qt4/tools/assistant/settingsdialogimpl.cpp b/tqtinterface/qt4/tools/assistant/settingsdialogimpl.cpp
index 39abaa7..287bb37 100644
--- a/tqtinterface/qt4/tools/assistant/settingsdialogimpl.cpp
+++ b/tqtinterface/qt4/tools/assistant/settingsdialogimpl.cpp
@@ -54,8 +54,8 @@
#include <tqmap.h>
-SettingsDialog::SettingsDialog( TQWidget *tqparent, const char* name )
- : SettingsDialogBase( tqparent, name )
+SettingsDialog::SettingsDialog( TQWidget *parent, const char* name )
+ : SettingsDialogBase( parent, name )
{
init();
}
diff --git a/tqtinterface/qt4/tools/assistant/settingsdialogimpl.h b/tqtinterface/qt4/tools/assistant/settingsdialogimpl.h
index 3865630..2e07a48 100644
--- a/tqtinterface/qt4/tools/assistant/settingsdialogimpl.h
+++ b/tqtinterface/qt4/tools/assistant/settingsdialogimpl.h
@@ -46,7 +46,7 @@ class SettingsDialog : public SettingsDialogBase
TQ_OBJECT
public:
- SettingsDialog( TQWidget *tqparent, const char* name = 0 );
+ SettingsDialog( TQWidget *parent, const char* name = 0 );
protected Q_SLOTS:
void selectColor();
diff --git a/tqtinterface/qt4/tools/assistant/tabbedbrowser.ui.h b/tqtinterface/qt4/tools/assistant/tabbedbrowser.ui.h
index b059b54..5f16dd1 100644
--- a/tqtinterface/qt4/tools/assistant/tabbedbrowser.ui.h
+++ b/tqtinterface/qt4/tools/assistant/tabbedbrowser.ui.h
@@ -200,7 +200,7 @@ void TabbedBrowser::updateTitle( const TQString &title )
MainWindow* TabbedBrowser::mainWindow()
{
- return (MainWindow*) tqparent();
+ return (MainWindow*) parent();
}
void TabbedBrowser::newTab()
diff --git a/tqtinterface/qt4/tools/assistant/topicchooserimpl.cpp b/tqtinterface/qt4/tools/assistant/topicchooserimpl.cpp
index daeedc5..d6048d2 100644
--- a/tqtinterface/qt4/tools/assistant/topicchooserimpl.cpp
+++ b/tqtinterface/qt4/tools/assistant/topicchooserimpl.cpp
@@ -37,9 +37,9 @@
#include <tqlistbox.h>
#include <tqpushbutton.h>
-TopicChooser::TopicChooser( TQWidget *tqparent, const TQStringList &lnkNames,
+TopicChooser::TopicChooser( TQWidget *parent, const TQStringList &lnkNames,
const TQStringList &lnks, const TQString &title )
- : TopicChooserBase( tqparent, 0, TRUE ), links( lnks ), linkNames( lnkNames )
+ : TopicChooserBase( parent, 0, TRUE ), links( lnks ), linkNames( lnkNames )
{
label->setText( tr( "Choose a topic for <b>%1</b>" ).arg( title ) );
listbox->insertStringList( linkNames );
@@ -58,10 +58,10 @@ TQString TopicChooser::link() const
return links[ i ];
}
-TQString TopicChooser::getLink( TQWidget *tqparent, const TQStringList &lnkNames,
+TQString TopicChooser::getLink( TQWidget *parent, const TQStringList &lnkNames,
const TQStringList &lnks, const TQString &title )
{
- TopicChooser *dlg = new TopicChooser( tqparent, lnkNames, lnks, title );
+ TopicChooser *dlg = new TopicChooser( parent, lnkNames, lnks, title );
TQString lnk;
if ( dlg->exec() == TQDialog::Accepted )
lnk = dlg->link();
diff --git a/tqtinterface/qt4/tools/assistant/topicchooserimpl.h b/tqtinterface/qt4/tools/assistant/topicchooserimpl.h
index 1bfd10b..8b3af6d 100644
--- a/tqtinterface/qt4/tools/assistant/topicchooserimpl.h
+++ b/tqtinterface/qt4/tools/assistant/topicchooserimpl.h
@@ -43,12 +43,12 @@ class TopicChooser : public TopicChooserBase
TQ_OBJECT
public:
- TopicChooser( TQWidget *tqparent, const TQStringList &lnkNames,
+ TopicChooser( TQWidget *parent, const TQStringList &lnkNames,
const TQStringList &lnks, const TQString &title );
TQString link() const;
- static TQString getLink( TQWidget *tqparent, const TQStringList &lnkNames,
+ static TQString getLink( TQWidget *parent, const TQStringList &lnkNames,
const TQStringList &lnks, const TQString &title );
private: