summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbginspector.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kxsldbg/kxsldbgpart/xsldbginspector.cpp
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbginspector.cpp')
-rw-r--r--kxsldbg/kxsldbgpart/xsldbginspector.cpp76
1 files changed, 38 insertions, 38 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbginspector.cpp b/kxsldbg/kxsldbgpart/xsldbginspector.cpp
index c36130c7..b6a8f6df 100644
--- a/kxsldbg/kxsldbgpart/xsldbginspector.cpp
+++ b/kxsldbg/kxsldbgpart/xsldbginspector.cpp
@@ -10,19 +10,19 @@
#include <klocale.h>
-#include <qvariant.h>
-#include <qlistbox.h>
-#include <qpushbutton.h>
-#include <qtabwidget.h>
-#include <qwidget.h>
-#include <qmime.h>
-#include <qdragobject.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qimage.h>
-#include <qpixmap.h>
-#include <qiconset.h>
+#include <tqvariant.h>
+#include <tqlistbox.h>
+#include <tqpushbutton.h>
+#include <tqtabwidget.h>
+#include <tqwidget.h>
+#include <tqmime.h>
+#include <tqdragobject.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
+#include <tqiconset.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
@@ -34,13 +34,13 @@
#include "xsldbgsourcesimpl.h"
#include "xsldbgentitiesimpl.h"
-static QPixmap uic_load_pixmap_XsldbgInspector( const QString &name )
+static TQPixmap uic_load_pixmap_XsldbgInspector( const TQString &name )
{
- const QMimeSource *m = QMimeSourceFactory::defaultFactory()->data( name );
+ const TQMimeSource *m = TQMimeSourceFactory::defaultFactory()->data( name );
if ( !m )
- return QPixmap();
- QPixmap pix;
- QImageDrag::decode( m, pix );
+ return TQPixmap();
+ TQPixmap pix;
+ TQImageDrag::decode( m, pix );
return pix;
}
/*
@@ -50,9 +50,9 @@ static QPixmap uic_load_pixmap_XsldbgInspector( const QString &name )
* The dialog will by default be modeless, unless you set 'modal' to
* true to construct a modal dialog.
*/
-XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, QWidget* parent,
+XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent,
const char* name, bool modal, WFlags fl )
- : QDialog( parent, name, modal, fl )
+ : TQDialog( parent, name, modal, fl )
{
Q_CHECK_PTR(debugger);
this->debugger = debugger;
@@ -67,10 +67,10 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, QWidget* parent,
resize( 597, 364 );
setCaption( i18n( "Xsldbg Inspector" ) );
setSizeGripEnabled( true );
- XsldbgInspectorLayout = new QGridLayout( this, 1, 1, 11, 6,
+ XsldbgInspectorLayout = new TQGridLayout( this, 1, 1, 11, 6,
"XsldbgInspectorLayout");
- tabWidget = new QTabWidget( this, "tabWidget" );
+ tabWidget = new TQTabWidget( this, "tabWidget" );
Q_CHECK_PTR( tabWidget );
breakpointWidget = new XsldbgBreakpointsImpl( debugger, tabWidget );
Q_CHECK_PTR( breakpointWidget );
@@ -79,41 +79,41 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, QWidget* parent,
localWidget = new XsldbgLocalVariablesImpl( debugger, tabWidget );
Q_CHECK_PTR( localWidget );
tabWidget->insertTab( localWidget,
- QIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
+ TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Variables" ) );
callStackWidget = new XsldbgCallStackImpl( debugger, tabWidget );
Q_CHECK_PTR( callStackWidget );
tabWidget->insertTab( callStackWidget,
- QIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
+ TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "CallStack" ));
templateWidget = new XsldbgTemplatesImpl( debugger, tabWidget );
Q_CHECK_PTR( templateWidget );
tabWidget->insertTab( templateWidget,
- QIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
+ TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Templates" ));
sourceWidget = new XsldbgSourcesImpl( debugger, tabWidget );
Q_CHECK_PTR( sourceWidget );
tabWidget->insertTab( sourceWidget,
- QIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
+ TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Sources" ));
entityWidget = new XsldbgEntitiesImpl( debugger, tabWidget );
Q_CHECK_PTR( entityWidget );
tabWidget->insertTab( entityWidget,
- QIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_data.png" ) ),
+ TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_data.png" ) ),
i18n( "Entities" ));
XsldbgInspectorLayout->addWidget( tabWidget, 0, 1 );
- Layout1 = new QHBoxLayout( 0, 0, 6, "Layout1");
+ Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
buttonHelp = new KPushButton( KStdGuiItem::help(), this, "buttonHelp" );
buttonHelp->setAccel( 4144 );
buttonHelp->setAutoDefault( true );
Layout1->addWidget( buttonHelp );
- QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
Layout1->addItem( spacer );
buttonOk = new KPushButton( KStdGuiItem::ok(), this, "buttonOk" );
@@ -123,15 +123,15 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, QWidget* parent,
Layout1->addWidget( buttonOk );
buttonApply = new KPushButton( KStdGuiItem::apply(), this, "buttonApply" );
- QToolTip::add(buttonApply, i18n("Apply changes to xsldbg after restarting execution"));
+ TQToolTip::add(buttonApply, i18n("Apply changes to xsldbg after restarting execution"));
buttonApply->setAccel( 0 );
buttonApply->setAutoDefault( true );
buttonApply->setDefault( true );
Layout1->addWidget( buttonApply );
- buttonRefresh = new QPushButton( this, "buttonRefresh" );
+ buttonRefresh = new TQPushButton( this, "buttonRefresh" );
buttonRefresh->setText( i18n( "&Refresh" ) );
- QToolTip::add(buttonRefresh, i18n("Refresh values in inspectors from xsldbg"));
+ TQToolTip::add(buttonRefresh, i18n("Refresh values in inspectors from xsldbg"));
buttonRefresh->setAccel( 0 );
buttonRefresh->setAutoDefault( true );
buttonRefresh->setDefault( true );
@@ -145,10 +145,10 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, QWidget* parent,
XsldbgInspectorLayout->addMultiCellLayout( Layout1, 1, 1, 0, 1 );
// signals and slots connections
- connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( buttonApply, SIGNAL ( clicked() ), this, SLOT ( update() ) );
- connect( buttonRefresh, SIGNAL ( clicked() ), this, SLOT ( refresh() ) );
- connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
+ connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( buttonApply, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( update() ) );
+ connect( buttonRefresh, TQT_SIGNAL ( clicked() ), this, TQT_SLOT ( refresh() ) );
+ connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
hide();
}
@@ -165,12 +165,12 @@ XsldbgInspector::~XsldbgInspector()
void XsldbgInspector::accept()
{
- QDialog::accept();
+ TQDialog::accept();
}
void XsldbgInspector::reject()
{
- QDialog::reject();
+ TQDialog::reject();
}