diff options
Diffstat (limited to 'arts/builder')
-rw-r--r-- | arts/builder/TODO | 2 | ||||
-rw-r--r-- | arts/builder/execdlg.cpp | 4 | ||||
-rw-r--r-- | arts/builder/execdlg.h | 2 | ||||
-rw-r--r-- | arts/builder/interfacedlg.cpp | 2 | ||||
-rw-r--r-- | arts/builder/interfacedlg.h | 2 | ||||
-rw-r--r-- | arts/builder/menumaker.cpp | 6 | ||||
-rw-r--r-- | arts/builder/menumaker.h | 2 | ||||
-rw-r--r-- | arts/builder/mwidget.cpp | 4 | ||||
-rw-r--r-- | arts/builder/mwidget.h | 2 | ||||
-rw-r--r-- | arts/builder/portposdlg.cpp | 2 | ||||
-rw-r--r-- | arts/builder/portposdlg.h | 2 | ||||
-rw-r--r-- | arts/builder/propertypanel.cpp | 4 | ||||
-rw-r--r-- | arts/builder/propertypanel.h | 2 | ||||
-rw-r--r-- | arts/builder/qttableview.cpp | 10 | ||||
-rw-r--r-- | arts/builder/qttableview.h | 2 | ||||
-rw-r--r-- | arts/builder/retrievedlg.cpp | 2 | ||||
-rw-r--r-- | arts/builder/retrievedlg.h | 2 |
17 files changed, 26 insertions, 26 deletions
diff --git a/arts/builder/TODO b/arts/builder/TODO index 0c8a0859..8b962aa5 100644 --- a/arts/builder/TODO +++ b/arts/builder/TODO @@ -44,7 +44,7 @@ Wishlist for the artsbuilder app: - make _changed Q_SIGNALS visible so you can connect the value_changed of a poti to the frequency of a filter -- make it possible to edit tqparent property of widgets (i.e. to insert one +- make it possible to edit parent property of widgets (i.e. to insert one widget into another) - add structure property dialog with structure meta information, at least diff --git a/arts/builder/execdlg.cpp b/arts/builder/execdlg.cpp index bad531aa..790691e8 100644 --- a/arts/builder/execdlg.cpp +++ b/arts/builder/execdlg.cpp @@ -45,8 +45,8 @@ static void min_size(TQWidget *w) { } #endif -ExecDlg::ExecDlg(TQWidget *tqparent, ExecutableStructure *structure) - :TQDialog(tqparent,"X") +ExecDlg::ExecDlg(TQWidget *parent, ExecutableStructure *structure) + :TQDialog(parent,"X") /*, TRUE)*/ { this->structure = structure; diff --git a/arts/builder/execdlg.h b/arts/builder/execdlg.h index d916a4ff..61348c0f 100644 --- a/arts/builder/execdlg.h +++ b/arts/builder/execdlg.h @@ -40,7 +40,7 @@ public: void start(); void done(int r); - ExecDlg(TQWidget *tqparent, ExecutableStructure *structure); + ExecDlg(TQWidget *parent, ExecutableStructure *structure); protected slots: void updateCpuUsage(); diff --git a/arts/builder/interfacedlg.cpp b/arts/builder/interfacedlg.cpp index 9680fc7e..3b4d455a 100644 --- a/arts/builder/interfacedlg.cpp +++ b/arts/builder/interfacedlg.cpp @@ -41,7 +41,7 @@ using namespace std; -InterfaceDlg::InterfaceDlg(TQWidget *tqparent) :TQDialog(tqparent,"Props", TRUE) +InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE) { setCaption(i18n("aRts: Structureport View")); diff --git a/arts/builder/interfacedlg.h b/arts/builder/interfacedlg.h index 235245a7..09cf5659 100644 --- a/arts/builder/interfacedlg.h +++ b/arts/builder/interfacedlg.h @@ -37,7 +37,7 @@ protected: TQListBox *listbox; public: - InterfaceDlg(TQWidget *tqparent); + InterfaceDlg(TQWidget *parent); std::string interfaceName(); void update(const std::string& interface, const std::string& indent); diff --git a/arts/builder/menumaker.cpp b/arts/builder/menumaker.cpp index 38f28ace..2aed8401 100644 --- a/arts/builder/menumaker.cpp +++ b/arts/builder/menumaker.cpp @@ -5,11 +5,11 @@ using namespace std; -MenuEntry::MenuEntry(MenuMaker *menumaker, KActionMenu *tqparent, const char *text) +MenuEntry::MenuEntry(MenuMaker *menumaker, KActionMenu *parent, const char *text) : menumaker(menumaker), text(text) { action = new KAction(TQString::fromLocal8Bit(text)); - tqparent->insert(action); + parent->insert(action); connect(action, TQT_SIGNAL(activated()), this, TQT_SLOT(activated())); } @@ -95,7 +95,7 @@ void MenuMaker::addCategory(const TQString& name, const char *prefix) /* 000 */ /*connect(newMenu,TQT_SIGNAL(activated(int)),this,TQT_SLOT(menuactivated(int))); pc->menu()->insertItem(catname(name).c_str(), newMenu, CAT_MAGIC_ID);*/ - arts_debug("inserting a menu called '%s' in the tqparent menu '%s'", + arts_debug("inserting a menu called '%s' in the parent menu '%s'", catname(name).local8Bit().data(),pc->name().local8Bit().data()); categories.push_back(new MenuCategory(name,prefix,newMenu)); } diff --git a/arts/builder/menumaker.h b/arts/builder/menumaker.h index 583854f6..3cb93fe3 100644 --- a/arts/builder/menumaker.h +++ b/arts/builder/menumaker.h @@ -19,7 +19,7 @@ protected: TQCString text; public: - MenuEntry(MenuMaker *menumaker, KActionMenu *tqparent, const char *text); + MenuEntry(MenuMaker *menumaker, KActionMenu *parent, const char *text); public slots: void activated(); diff --git a/arts/builder/mwidget.cpp b/arts/builder/mwidget.cpp index 5ab19fe7..8b2aeed8 100644 --- a/arts/builder/mwidget.cpp +++ b/arts/builder/mwidget.cpp @@ -608,8 +608,8 @@ void ModuleWidget::autoRedrawRouter() if(autorouter->needRedraw()) redrawAll(); } -ModuleWidget::ModuleWidget(Structure *structure, TQWidget *tqparent, const char *name, WFlags f) - : QtTableView( tqparent, name, f), +ModuleWidget::ModuleWidget(Structure *structure, TQWidget *parent, const char *name, WFlags f) + : QtTableView( parent, name, f), updateDepth( 0 ), activeTool( 0L ), structure( structure ), diff --git a/arts/builder/mwidget.h b/arts/builder/mwidget.h index b3b41b78..cc6dbfca 100644 --- a/arts/builder/mwidget.h +++ b/arts/builder/mwidget.h @@ -109,7 +109,7 @@ public: TQPoint componentPos(const StructureComponent *component) const; TQPoint portPos(const ModulePort *port) const; - ModuleWidget( Structure *structure, TQWidget *tqparent = 0, + ModuleWidget( Structure *structure, TQWidget *parent = 0, const char *name = 0, WFlags f = 0); ~ModuleWidget(); diff --git a/arts/builder/portposdlg.cpp b/arts/builder/portposdlg.cpp index ecd877c9..63f2546c 100644 --- a/arts/builder/portposdlg.cpp +++ b/arts/builder/portposdlg.cpp @@ -40,7 +40,7 @@ using namespace std; -PortPosDlg::PortPosDlg(TQWidget *tqparent, Structure *structure) :TQDialog(tqparent,"Props", TRUE) +PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,"Props", TRUE) { this->structure = structure; diff --git a/arts/builder/portposdlg.h b/arts/builder/portposdlg.h index aa61bad1..70d39338 100644 --- a/arts/builder/portposdlg.h +++ b/arts/builder/portposdlg.h @@ -39,7 +39,7 @@ protected: std::vector<StructurePort *> listports; public: - PortPosDlg(TQWidget *tqparent, Structure *structure); + PortPosDlg(TQWidget *parent, Structure *structure); void update(); public slots: diff --git a/arts/builder/propertypanel.cpp b/arts/builder/propertypanel.cpp index ed3df208..df76588a 100644 --- a/arts/builder/propertypanel.cpp +++ b/arts/builder/propertypanel.cpp @@ -36,8 +36,8 @@ #include <arts/debug.h> -PropertyPanel::PropertyPanel( TQWidget* tqparent, const char* name, WFlags fl ) - : PropertyPanelBase( tqparent, name, fl ), +PropertyPanel::PropertyPanel( TQWidget* parent, const char* name, WFlags fl ) + : PropertyPanelBase( parent, name, fl ), component(0L), port(0L) { diff --git a/arts/builder/propertypanel.h b/arts/builder/propertypanel.h index 07ce3f90..cf34fe65 100644 --- a/arts/builder/propertypanel.h +++ b/arts/builder/propertypanel.h @@ -36,7 +36,7 @@ class PropertyPanel: public PropertyPanelBase TQ_OBJECT public: - PropertyPanel( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + PropertyPanel( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); public slots: void setSelectedComponent( StructureComponent *component ); diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp index bfb5539c..f8716b44 100644 --- a/arts/builder/qttableview.cpp +++ b/arts/builder/qttableview.cpp @@ -45,8 +45,8 @@ public: void paintEvent( TQPaintEvent * ); }; -TQCornerSquare::TQCornerSquare( TQWidget *tqparent, const char *name ) - : TQWidget( tqparent, name ) +TQCornerSquare::TQCornerSquare( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { } @@ -125,7 +125,7 @@ void TQCornerSquare::paintEvent( TQPaintEvent * ) /*! - Constructs a table view. The \a tqparent, \a name and \f arguments + Constructs a table view. The \a parent, \a name and \f arguments are passed to the TQFrame constructor. The \link setTableFlags() table flags\endlink are all cleared (set to 0). @@ -144,8 +144,8 @@ void TQCornerSquare::paintEvent( TQPaintEvent * ) */ -QtTableView::QtTableView( TQWidget *tqparent, const char *name, WFlags f ) - : TQFrame( tqparent, name, f ) +QtTableView::QtTableView( TQWidget *parent, const char *name, WFlags f ) + : TQFrame( parent, name, f ) { nRows = nCols = 0; // zero rows/cols xCellOffs = yCellOffs = 0; // zero offset diff --git a/arts/builder/qttableview.h b/arts/builder/qttableview.h index a6e868b6..7d4f14e2 100644 --- a/arts/builder/qttableview.h +++ b/arts/builder/qttableview.h @@ -37,7 +37,7 @@ public: void tqrepaint( const TQRect &, bool erase=TRUE ); protected: - QtTableView( TQWidget *tqparent=0, const char *name=0, WFlags f=0 ); + QtTableView( TQWidget *parent=0, const char *name=0, WFlags f=0 ); ~QtTableView(); int numRows() const; diff --git a/arts/builder/retrievedlg.cpp b/arts/builder/retrievedlg.cpp index c54cbabd..5b738471 100644 --- a/arts/builder/retrievedlg.cpp +++ b/arts/builder/retrievedlg.cpp @@ -40,7 +40,7 @@ static void min_size(TQWidget *w) { w->setMinimumSize(w->tqsizeHint()); } -RetrieveDlg::RetrieveDlg(TQWidget *tqparent) :TQDialog(tqparent,"X", TRUE) +RetrieveDlg::RetrieveDlg(TQWidget *parent) :TQDialog(parent,"X", TRUE) { setCaption(i18n("Retrieve Structure From Server")); diff --git a/arts/builder/retrievedlg.h b/arts/builder/retrievedlg.h index 3ffa57ee..51649c4f 100644 --- a/arts/builder/retrievedlg.h +++ b/arts/builder/retrievedlg.h @@ -38,7 +38,7 @@ class RetrieveDlg :public TQDialog { TQ_OBJECT TQListBox *listbox; public: - RetrieveDlg(TQWidget *tqparent); + RetrieveDlg(TQWidget *parent); TQString result(); public slots: void help(); |