summaryrefslogtreecommitdiffstats
path: root/kdbg/procattachbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdbg/procattachbase.cpp')
-rw-r--r--kdbg/procattachbase.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/kdbg/procattachbase.cpp b/kdbg/procattachbase.cpp
index b6f8293..d3463db 100644
--- a/kdbg/procattachbase.cpp
+++ b/kdbg/procattachbase.cpp
@@ -10,16 +10,16 @@
#include "procattachbase.h"
-#include <qvariant.h>
-#include <qpushbutton.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qtoolbutton.h>
-#include <qheader.h>
-#include <qlistview.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
+#include <ntqvariant.h>
+#include <ntqpushbutton.h>
+#include <ntqlabel.h>
+#include <ntqlineedit.h>
+#include <ntqtoolbutton.h>
+#include <ntqheader.h>
+#include <ntqlistview.h>
+#include <ntqlayout.h>
+#include <ntqtooltip.h>
+#include <ntqwhatsthis.h>
/*
* Constructs a ProcAttachBase as a child of 'parent', with the
@@ -28,66 +28,66 @@
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-ProcAttachBase::ProcAttachBase( QWidget* parent, const char* name, bool modal, WFlags fl )
- : QDialog( parent, name, modal, fl )
+ProcAttachBase::ProcAttachBase( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : TQDialog( parent, name, modal, fl )
{
if ( !name )
setName( "ProcAttachBase" );
setSizeGripEnabled( TRUE );
- ProcAttachBaseLayout = new QHBoxLayout( this, 10, 6, "ProcAttachBaseLayout");
+ ProcAttachBaseLayout = new TQHBoxLayout( this, 10, 6, "ProcAttachBaseLayout");
- layout7 = new QVBoxLayout( 0, 0, 6, "layout7");
+ layout7 = new TQVBoxLayout( 0, 0, 6, "layout7");
- layout6 = new QHBoxLayout( 0, 0, 6, "layout6");
+ layout6 = new TQHBoxLayout( 0, 0, 6, "layout6");
- filterLabel = new QLabel( this, "filterLabel" );
+ filterLabel = new TQLabel( this, "filterLabel" );
layout6->addWidget( filterLabel );
- filterEdit = new QLineEdit( this, "filterEdit" );
- filterEdit->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)5, 0, 0, filterEdit->sizePolicy().hasHeightForWidth() ) );
+ filterEdit = new TQLineEdit( this, "filterEdit" );
+ filterEdit->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)5, 0, 0, filterEdit->sizePolicy().hasHeightForWidth() ) );
filterEdit->setMaxLength( 20 );
layout6->addWidget( filterEdit );
- filterClear = new QToolButton( this, "filterClear" );
+ filterClear = new TQToolButton( this, "filterClear" );
layout6->addWidget( filterClear );
layout7->addLayout( layout6 );
- processList = new QListView( this, "processList" );
+ processList = new TQListView( this, "processList" );
processList->addColumn( tr2i18n( "Command" ) );
processList->addColumn( tr2i18n( "PID" ) );
processList->addColumn( tr2i18n( "PPID" ) );
- processList->setMinimumSize( QSize( 300, 200 ) );
+ processList->setMinimumSize( TQSize( 300, 200 ) );
processList->setAllColumnsShowFocus( TRUE );
layout7->addWidget( processList );
- layout3 = new QHBoxLayout( 0, 0, 6, "layout3");
+ layout3 = new TQHBoxLayout( 0, 0, 6, "layout3");
- buttonRefresh = new QPushButton( this, "buttonRefresh" );
- buttonRefresh->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)1, (QSizePolicy::SizeType)0, 0, 0, buttonRefresh->sizePolicy().hasHeightForWidth() ) );
+ buttonRefresh = new TQPushButton( this, "buttonRefresh" );
+ buttonRefresh->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)0, 0, 0, buttonRefresh->sizePolicy().hasHeightForWidth() ) );
layout3->addWidget( buttonRefresh );
- spacingBtns = new QSpacerItem( 242, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ spacingBtns = new TQSpacerItem( 242, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
layout3->addItem( spacingBtns );
- buttonOk = new QPushButton( this, "buttonOk" );
+ buttonOk = new TQPushButton( this, "buttonOk" );
buttonOk->setEnabled( FALSE );
buttonOk->setAutoDefault( TRUE );
buttonOk->setDefault( TRUE );
layout3->addWidget( buttonOk );
- buttonCancel = new QPushButton( this, "buttonCancel" );
+ buttonCancel = new TQPushButton( this, "buttonCancel" );
buttonCancel->setAutoDefault( TRUE );
layout3->addWidget( buttonCancel );
layout7->addLayout( layout3 );
ProcAttachBaseLayout->addLayout( layout7 );
languageChange();
- resize( QSize(560, 416).expandedTo(minimumSizeHint()) );
+ resize( TQSize(560, 416).expandedTo(minimumSizeHint()) );
clearWState( WState_Polished );
// signals and slots connections
connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
connect( buttonRefresh, SIGNAL( clicked() ), this, SLOT( refresh() ) );
- connect( filterEdit, SIGNAL( textChanged(const QString&) ), this, SLOT( filterEdited(const QString&) ) );
+ connect( filterEdit, SIGNAL( textChanged(const TQString&) ), this, SLOT( filterEdited(const TQString&) ) );
connect( filterClear, SIGNAL( clicked() ), filterEdit, SLOT( clear() ) );
connect( processList, SIGNAL( selectionChanged() ), this, SLOT( selectedChanged() ) );
@@ -106,7 +106,7 @@ ProcAttachBase::ProcAttachBase( QWidget* parent, const char* name, bool modal, W
*/
ProcAttachBase::~ProcAttachBase()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
/*
@@ -117,21 +117,21 @@ void ProcAttachBase::languageChange()
{
setCaption( tr2i18n( "Attach to Process" ) );
filterLabel->setText( tr2i18n( "&Filter or PID:" ) );
- QWhatsThis::add( filterEdit, tr2i18n( "Type the name of the process or its process ID (PID) here to reduce the number of entries in the list." ) );
+ TQWhatsThis::add( filterEdit, tr2i18n( "Type the name of the process or its process ID (PID) here to reduce the number of entries in the list." ) );
filterClear->setText( tr2i18n( "..." ) );
- QToolTip::add( filterClear, tr2i18n( "Clear filter" ) );
- QWhatsThis::add( filterClear, tr2i18n( "Use this button to clear the filter text so that all processes are displayed." ) );
+ TQToolTip::add( filterClear, tr2i18n( "Clear filter" ) );
+ TQWhatsThis::add( filterClear, tr2i18n( "Use this button to clear the filter text so that all processes are displayed." ) );
processList->header()->setLabel( 0, tr2i18n( "Command" ) );
processList->header()->setLabel( 1, tr2i18n( "PID" ) );
processList->header()->setLabel( 2, tr2i18n( "PPID" ) );
- QWhatsThis::add( processList, tr2i18n( "<p>This list displays all processes that are currently running. You must select the process that you want KDbg to attach to. Use the <b>Filter or PID</b> edit box to reduce the number of entries in this list.<p>The text in the <i>Command</i> column is usually, but not always, the command that was used to start the process. The <i>PID</i> column shows the process ID. The <i>PPID</i> column shows the process ID of the parent process. Additional columns show more information about the processes that is also available via the system's <i>ps</i> command.</p><p>The list is not updated automatically. Use the <b>Refresh</b> button to update it.</p>" ) );
+ TQWhatsThis::add( processList, tr2i18n( "<p>This list displays all processes that are currently running. You must select the process that you want KDbg to attach to. Use the <b>Filter or PID</b> edit box to reduce the number of entries in this list.<p>The text in the <i>Command</i> column is usually, but not always, the command that was used to start the process. The <i>PID</i> column shows the process ID. The <i>PPID</i> column shows the process ID of the parent process. Additional columns show more information about the processes that is also available via the system's <i>ps</i> command.</p><p>The list is not updated automatically. Use the <b>Refresh</b> button to update it.</p>" ) );
buttonRefresh->setText( tr2i18n( "&Refresh" ) );
- QWhatsThis::add( buttonRefresh, tr2i18n( "This button updates the list of processes." ) );
+ TQWhatsThis::add( buttonRefresh, tr2i18n( "This button updates the list of processes." ) );
buttonOk->setText( tr2i18n( "&OK" ) );
- buttonOk->setAccel( QKeySequence( QString::null ) );
- QWhatsThis::add( buttonOk, tr2i18n( "You must select a process from the list. Then click the <b>OK</b> button to attach to that process." ) );
+ buttonOk->setAccel( TQKeySequence( TQString::null ) );
+ TQWhatsThis::add( buttonOk, tr2i18n( "You must select a process from the list. Then click the <b>OK</b> button to attach to that process." ) );
buttonCancel->setText( tr2i18n( "&Cancel" ) );
- buttonCancel->setAccel( QKeySequence( QString::null ) );
+ buttonCancel->setAccel( TQKeySequence( TQString::null ) );
}
#include "procattachbase.moc"