diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/editor')
9 files changed, 16 insertions, 16 deletions
diff --git a/tqtinterface/qt4/tools/designer/editor/arghintwidget.cpp b/tqtinterface/qt4/tools/designer/editor/arghintwidget.cpp index 34e1ff6..1f5a7c9 100644 --- a/tqtinterface/qt4/tools/designer/editor/arghintwidget.cpp +++ b/tqtinterface/qt4/tools/designer/editor/arghintwidget.cpp @@ -133,7 +133,7 @@ class ArrowButton : public TQButton public: enum Dir { Left, Right }; - ArrowButton( TQWidget *tqparent, const char *name, Dir d ); + ArrowButton( TQWidget *parent, const char *name, Dir d ); void drawButton( TQPainter *p ); private: @@ -141,8 +141,8 @@ private: }; -ArrowButton::ArrowButton( TQWidget *tqparent, const char *name, Dir d ) - : TQButton( tqparent, name ) +ArrowButton::ArrowButton( TQWidget *parent, const char *name, Dir d ) + : TQButton( parent, name ) { setFixedSize( 16, 16 ); if ( d == Left ) { @@ -167,8 +167,8 @@ void ArrowButton::drawButton( TQPainter *p ) } -ArgHintWidget::ArgHintWidget( TQWidget *tqparent, const char*name ) - : TQFrame( tqparent, name, WType_Popup ), curFunc( 0 ), numFuncs( 0 ) +ArgHintWidget::ArgHintWidget( TQWidget *parent, const char*name ) + : TQFrame( parent, name, WType_Popup ), curFunc( 0 ), numFuncs( 0 ) { setFrameStyle( TQFrame::Box | TQFrame::Plain ); setLineWidth( 1 ); diff --git a/tqtinterface/qt4/tools/designer/editor/arghintwidget.h b/tqtinterface/qt4/tools/designer/editor/arghintwidget.h index 0986c55..d5c6d43 100644 --- a/tqtinterface/qt4/tools/designer/editor/arghintwidget.h +++ b/tqtinterface/qt4/tools/designer/editor/arghintwidget.h @@ -44,7 +44,7 @@ class ArgHintWidget : public TQFrame TQ_OBJECT public: - ArgHintWidget( TQWidget *tqparent, const char*name ); + ArgHintWidget( TQWidget *parent, const char*name ); void setFunctionText( int func, const TQString &text ); void setNumFunctions( int num ); diff --git a/tqtinterface/qt4/tools/designer/editor/browser.cpp b/tqtinterface/qt4/tools/designer/editor/browser.cpp index 129d463..32eba0c 100644 --- a/tqtinterface/qt4/tools/designer/editor/browser.cpp +++ b/tqtinterface/qt4/tools/designer/editor/browser.cpp @@ -57,7 +57,7 @@ EditorBrowser::~EditorBrowser() bool EditorBrowser::eventFilter( TQObject *o, TQEvent *e ) { - if ( ::tqqt_cast<Editor*>(o->tqparent()) || ::tqqt_cast<Editor*>(o) ) { + if ( ::tqqt_cast<Editor*>(o->parent()) || ::tqqt_cast<Editor*>(o) ) { TQMouseEvent *me; TQKeyEvent *ke; switch ( e->type() ) { diff --git a/tqtinterface/qt4/tools/designer/editor/editor.cpp b/tqtinterface/qt4/tools/designer/editor/editor.cpp index 626df22..9a1ee42 100644 --- a/tqtinterface/qt4/tools/designer/editor/editor.cpp +++ b/tqtinterface/qt4/tools/designer/editor/editor.cpp @@ -40,8 +40,8 @@ #include <tqpopupmenu.h> #include <tqaccel.h> -Editor::Editor( const TQString &fn, TQWidget *tqparent, const char *name ) - : TQTextEdit( tqparent, name ), hasError( FALSE ) +Editor::Editor( const TQString &fn, TQWidget *parent, const char *name ) + : TQTextEdit( parent, name ), hasError( FALSE ) { document()->setFormatter( new TQTextFormatterBreakInWords ); if ( !fn.isEmpty() ) diff --git a/tqtinterface/qt4/tools/designer/editor/editor.h b/tqtinterface/qt4/tools/designer/editor/editor.h index 782ea97..8926c25 100644 --- a/tqtinterface/qt4/tools/designer/editor/editor.h +++ b/tqtinterface/qt4/tools/designer/editor/editor.h @@ -52,7 +52,7 @@ public: Step = 4 }; - Editor( const TQString &fn, TQWidget *tqparent, const char *name ); + Editor( const TQString &fn, TQWidget *parent, const char *name ); ~Editor(); virtual void load( const TQString &fn ); virtual void save( const TQString &fn ); diff --git a/tqtinterface/qt4/tools/designer/editor/markerwidget.cpp b/tqtinterface/qt4/tools/designer/editor/markerwidget.cpp index 1164d8b..a6d82ae 100644 --- a/tqtinterface/qt4/tools/designer/editor/markerwidget.cpp +++ b/tqtinterface/qt4/tools/designer/editor/markerwidget.cpp @@ -286,8 +286,8 @@ static TQPixmap *breakpointPixmap = 0; static TQPixmap *stepPixmap = 0; static TQPixmap *stackFrame = 0; -MarkerWidget::MarkerWidget( ViewManager *tqparent, const char*name ) - : TQWidget( tqparent, name, WRepaintNoErase | WStaticContents | WResizeNoErase ), viewManager( tqparent ) +MarkerWidget::MarkerWidget( ViewManager *parent, const char*name ) + : TQWidget( parent, name, WRepaintNoErase | WStaticContents | WResizeNoErase ), viewManager( parent ) { if ( !errorPixmap ) { errorPixmap = new TQPixmap( error_xpm ); diff --git a/tqtinterface/qt4/tools/designer/editor/markerwidget.h b/tqtinterface/qt4/tools/designer/editor/markerwidget.h index 6e124c1..431f0d3 100644 --- a/tqtinterface/qt4/tools/designer/editor/markerwidget.h +++ b/tqtinterface/qt4/tools/designer/editor/markerwidget.h @@ -45,7 +45,7 @@ class MarkerWidget : public TQWidget TQ_OBJECT public: - MarkerWidget( ViewManager *tqparent, const char*name ); + MarkerWidget( ViewManager *parent, const char*name ); Q_SIGNALS: void markersChanged(); diff --git a/tqtinterface/qt4/tools/designer/editor/viewmanager.cpp b/tqtinterface/qt4/tools/designer/editor/viewmanager.cpp index b0b0186..50760d4 100644 --- a/tqtinterface/qt4/tools/designer/editor/viewmanager.cpp +++ b/tqtinterface/qt4/tools/designer/editor/viewmanager.cpp @@ -41,8 +41,8 @@ #include <tqlabel.h> #include <tqtimer.h> -ViewManager::ViewManager( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ), curView( 0 ) +ViewManager::ViewManager( TQWidget *parent, const char *name ) + : TQWidget( parent, name ), curView( 0 ) { TQHBoxLayout *l = new TQHBoxLayout( this ); markerWidget = new MarkerWidget( this, "editor_markerwidget" ); diff --git a/tqtinterface/qt4/tools/designer/editor/viewmanager.h b/tqtinterface/qt4/tools/designer/editor/viewmanager.h index 2677fb9..c6402db 100644 --- a/tqtinterface/qt4/tools/designer/editor/viewmanager.h +++ b/tqtinterface/qt4/tools/designer/editor/viewmanager.h @@ -50,7 +50,7 @@ class ViewManager : public TQWidget TQ_OBJECT public: - ViewManager( TQWidget *tqparent, const char *name ); + ViewManager( TQWidget *parent, const char *name ); void addView( TQWidget *view ); TQWidget *currentView() const; |