diff options
Diffstat (limited to 'src/gui')
31 files changed, 48 insertions, 48 deletions
diff --git a/src/gui/boolfieldwidget.h b/src/gui/boolfieldwidget.h index 0181f31..9507bad 100644 --- a/src/gui/boolfieldwidget.h +++ b/src/gui/boolfieldwidget.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - BoolFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + BoolFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~BoolFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/choicefieldwidget.h b/src/gui/choicefieldwidget.h index 35c40b9..0bcaf48 100644 --- a/src/gui/choicefieldwidget.h +++ b/src/gui/choicefieldwidget.h @@ -30,7 +30,7 @@ Q_OBJECT TQ_OBJECT public: - ChoiceFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + ChoiceFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~ChoiceFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/collectiontypecombo.h b/src/gui/collectiontypecombo.h index bcc9e7f..8b36937 100644 --- a/src/gui/collectiontypecombo.h +++ b/src/gui/collectiontypecombo.h @@ -22,7 +22,7 @@ namespace GUI { class CollectionTypeCombo : public ComboBox { public: - CollectionTypeCombo(TQWidget* tqparent); + CollectionTypeCombo(TQWidget* parent); void reset(); void setCurrentType(int type); int currentType() const { return currentData().toInt(); } diff --git a/src/gui/counteditem.h b/src/gui/counteditem.h index 7e3b9a1..3aff0b7 100644 --- a/src/gui/counteditem.h +++ b/src/gui/counteditem.h @@ -28,8 +28,8 @@ namespace Tellico { */ class CountedItem : public GUI::ListViewItem { public: - CountedItem(ListView* tqparent) : ListViewItem(tqparent) {} - CountedItem(ListViewItem* tqparent) : ListViewItem(tqparent) {} + CountedItem(ListView* parent) : ListViewItem(parent) {} + CountedItem(ListViewItem* parent) : ListViewItem(parent) {} virtual int compare(TQListViewItem* item, int col, bool ascending) const; /** diff --git a/src/gui/datefieldwidget.h b/src/gui/datefieldwidget.h index 573b7dc..0730d11 100644 --- a/src/gui/datefieldwidget.h +++ b/src/gui/datefieldwidget.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - DateFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + DateFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~DateFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/datewidget.cpp b/src/gui/datewidget.cpp index 7a2d99b..a8cc726 100644 --- a/src/gui/datewidget.cpp +++ b/src/gui/datewidget.cpp @@ -32,7 +32,7 @@ using Tellico::GUI::SpinBox; using Tellico::GUI::DateWidget; -SpinBox::SpinBox(int min, int max, TQWidget *tqparent) : TQSpinBox(min, max, 1, tqparent) +SpinBox::SpinBox(int min, int max, TQWidget *parent) : TQSpinBox(min, max, 1, parent) { editor()->tqsetAlignment(AlignRight); // I want to be able to omit the day diff --git a/src/gui/datewidget.h b/src/gui/datewidget.h index 9575af9..7a1a599 100644 --- a/src/gui/datewidget.h +++ b/src/gui/datewidget.h @@ -32,7 +32,7 @@ Q_OBJECT TQ_OBJECT public: - SpinBox(int min, int max, TQWidget *tqparent); + SpinBox(int min, int max, TQWidget *parent); }; /** @@ -43,7 +43,7 @@ Q_OBJECT TQ_OBJECT public: - DateWidget(TQWidget* tqparent, const char* name = 0); + DateWidget(TQWidget* parent, const char* name = 0); ~DateWidget() {} TQDate date() const; diff --git a/src/gui/fieldwidget.cpp b/src/gui/fieldwidget.cpp index 500c6c8..3940fc4 100644 --- a/src/gui/fieldwidget.cpp +++ b/src/gui/fieldwidget.cpp @@ -91,7 +91,7 @@ FieldWidget* FieldWidget::create(Data::FieldPtr field_, TQWidget* parent_, const FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* name_/*=0*/) : TQWidget(parent_, name_), m_field(field_) { - TQHBoxLayout* l = new TQHBoxLayout(this, 2, 2); // tqparent, margin, spacing + TQHBoxLayout* l = new TQHBoxLayout(this, 2, 2); // parent, margin, spacing l->addSpacing(4); // add some more space in the columns between widgets if(TQCString(tqstyle().name()).lower().find("keramik", 0, false) > -1) { l->setMargin(1); diff --git a/src/gui/fieldwidget.h b/src/gui/fieldwidget.h index 1bd9582..4c70658 100644 --- a/src/gui/fieldwidget.h +++ b/src/gui/fieldwidget.h @@ -40,7 +40,7 @@ Q_OBJECT TQ_OBJECT public: - FieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + FieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~FieldWidget() {} Data::FieldPtr field() const { return m_field; } @@ -59,7 +59,7 @@ public: virtual void addCompletionObjectItem(const TQString&) {} // factory function - static FieldWidget* create(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + static FieldWidget* create(Data::FieldPtr field, TQWidget* parent, const char* name=0); public slots: virtual void insertDefault(); diff --git a/src/gui/imagefieldwidget.h b/src/gui/imagefieldwidget.h index 81b952d..bef6816 100644 --- a/src/gui/imagefieldwidget.h +++ b/src/gui/imagefieldwidget.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - ImageFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + ImageFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~ImageFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/imagewidget.h b/src/gui/imagewidget.h index 76a7304..a30ec9e 100644 --- a/src/gui/imagewidget.h +++ b/src/gui/imagewidget.h @@ -37,7 +37,7 @@ Q_OBJECT TQ_OBJECT public: - ImageWidget(TQWidget* tqparent, const char* name = 0); + ImageWidget(TQWidget* parent, const char* name = 0); virtual ~ImageWidget() {} const TQString& id() const { return m_imageID; } diff --git a/src/gui/kwidgetlister.cpp b/src/gui/kwidgetlister.cpp index 49045a1..ae0e711 100644 --- a/src/gui/kwidgetlister.cpp +++ b/src/gui/kwidgetlister.cpp @@ -41,8 +41,8 @@ #include <assert.h> -KWidgetLister::KWidgetLister( int minWidgets, int maxWidgets, TQWidget *tqparent, const char* name ) - : TQWidget( tqparent, name ) +KWidgetLister::KWidgetLister( int minWidgets, int maxWidgets, TQWidget *parent, const char* name ) + : TQWidget( parent, name ) { mWidgetList.setAutoDelete(TRUE); @@ -146,9 +146,9 @@ void KWidgetLister::clearWidget( TQWidget* /*aWidget*/ ) { } -TQWidget* KWidgetLister::createWidget( TQWidget* tqparent ) +TQWidget* KWidgetLister::createWidget( TQWidget* parent ) { - return new TQWidget( tqparent ); + return new TQWidget( parent ); } void KWidgetLister::setNumberOfShownWidgetsTo( int aNum ) diff --git a/src/gui/kwidgetlister.h b/src/gui/kwidgetlister.h index c57f1e4..3e98fd3 100644 --- a/src/gui/kwidgetlister.h +++ b/src/gui/kwidgetlister.h @@ -64,7 +64,7 @@ class KWidgetLister : public TQWidget Q_OBJECT TQ_OBJECT public: - KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* tqparent=0, const char* name=0 ); + KWidgetLister( int minWidgets=1, int maxWidgets=8, TQWidget* parent=0, const char* name=0 ); virtual ~KWidgetLister(); protected slots: @@ -97,7 +97,7 @@ protected: when showing it on screen. Make sure you call this implementaion, though, since you cannot put the widget on screen from derived classes (@p mLayout is private). - Make sure the tqparent of the TQWidget to add is this KWidgetLister. */ + Make sure the parent of the TQWidget to add is this KWidgetLister. */ virtual void addWidgetAtEnd(TQWidget *w =0); /** Removes a single (always the last) widget. Doesn't care if there are still only @ref mMinWidgets left on screen and whether it @@ -114,7 +114,7 @@ protected: classes, we are forced to emulate this by forcing the implementers of subclasses of KWidgetLister to reimplement this function which replaces the "@p new @p T" call. */ - virtual TQWidget* createWidget( TQWidget *tqparent ); + virtual TQWidget* createWidget( TQWidget *parent ); /** Sets the number of widgets on scrren to exactly @p aNum. Doesn't check if @p aNum is inside the range @p [mMinWidgets,mMaxWidgets]. */ diff --git a/src/gui/lineedit.h b/src/gui/lineedit.h index 1c42cbe..5f86d84 100644 --- a/src/gui/lineedit.h +++ b/src/gui/lineedit.h @@ -32,7 +32,7 @@ Q_OBJECT TQ_OBJECT public: - LineEdit(TQWidget* tqparent = 0, const char* name = 0); + LineEdit(TQWidget* parent = 0, const char* name = 0); virtual void setText(const TQString& text); void setHint(const TQString& hint); diff --git a/src/gui/linefieldwidget.h b/src/gui/linefieldwidget.h index cdbfb28..0e965e1 100644 --- a/src/gui/linefieldwidget.h +++ b/src/gui/linefieldwidget.h @@ -29,7 +29,7 @@ Q_OBJECT TQ_OBJECT public: - LineFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + LineFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~LineFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/listview.cpp b/src/gui/listview.cpp index 0d03228..f5595ea 100644 --- a/src/gui/listview.cpp +++ b/src/gui/listview.cpp @@ -71,8 +71,8 @@ bool ListView::isSelectable(ListViewItem* item_) const { } // selecting multiple items is ok - // only when tqparent is open. Be careful to check for existence of tqparent - if(item_->tqparent() && !item_->tqparent()->isOpen()) { + // only when parent is open. Be careful to check for existence of parent + if(item_->parent() && !item_->parent()->isOpen()) { return false; } diff --git a/src/gui/listview.h b/src/gui/listview.h index 8f31977..6f2ec8b 100644 --- a/src/gui/listview.h +++ b/src/gui/listview.h @@ -52,7 +52,7 @@ public: SortByCount = 1 }; - ListView(TQWidget* tqparent, const char* name = 0); + ListView(TQWidget* parent, const char* name = 0); virtual ~ListView(); void clearSelection(); @@ -132,11 +132,11 @@ private: */ class ListViewItem : public KListViewItem { public: - ListViewItem(ListView* tqparent) : KListViewItem(tqparent), m_sortWeight(-1) {} - ListViewItem(ListView* tqparent, TQListViewItem* after) : KListViewItem(tqparent, after), m_sortWeight(-1) {} - ListViewItem(ListViewItem* tqparent) : KListViewItem(tqparent), m_sortWeight(-1) {} - ListViewItem(ListView* tqparent, const TQString& text) : KListViewItem(tqparent, text), m_sortWeight(-1) {} - ListViewItem(ListViewItem* tqparent, const TQString& text) : KListViewItem(tqparent, text), m_sortWeight(-1) {} + ListViewItem(ListView* parent) : KListViewItem(parent), m_sortWeight(-1) {} + ListViewItem(ListView* parent, TQListViewItem* after) : KListViewItem(parent, after), m_sortWeight(-1) {} + ListViewItem(ListViewItem* parent) : KListViewItem(parent), m_sortWeight(-1) {} + ListViewItem(ListView* parent, const TQString& text) : KListViewItem(parent, text), m_sortWeight(-1) {} + ListViewItem(ListViewItem* parent, const TQString& text) : KListViewItem(parent, text), m_sortWeight(-1) {} virtual ~ListViewItem(); virtual int realChildCount() const { return childCount(); } diff --git a/src/gui/numberfieldwidget.h b/src/gui/numberfieldwidget.h index 6c9fd82..7edb874 100644 --- a/src/gui/numberfieldwidget.h +++ b/src/gui/numberfieldwidget.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - NumberFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + NumberFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~NumberFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/overlaywidget.cpp b/src/gui/overlaywidget.cpp index cc7bfea..fd5c02b 100644 --- a/src/gui/overlaywidget.cpp +++ b/src/gui/overlaywidget.cpp @@ -17,7 +17,7 @@ using Tellico::GUI::OverlayWidget; -OverlayWidget::OverlayWidget(TQWidget* tqparent, TQWidget* anchor) : TQFrame(tqparent) +OverlayWidget::OverlayWidget(TQWidget* parent, TQWidget* anchor) : TQFrame(parent) , m_anchor(anchor) , m_corner(TopRight) { m_anchor->installEventFilter(this); diff --git a/src/gui/overlaywidget.h b/src/gui/overlaywidget.h index 80eb245..0349e00 100644 --- a/src/gui/overlaywidget.h +++ b/src/gui/overlaywidget.h @@ -30,7 +30,7 @@ Q_OBJECT TQ_OBJECT public: - OverlayWidget(TQWidget* tqparent, TQWidget* anchor); + OverlayWidget(TQWidget* parent, TQWidget* anchor); void setCorner(Corner corner); Corner corner() const { return m_corner; } diff --git a/src/gui/parafieldwidget.h b/src/gui/parafieldwidget.h index f672bfb..760943e 100644 --- a/src/gui/parafieldwidget.h +++ b/src/gui/parafieldwidget.h @@ -30,7 +30,7 @@ Q_OBJECT TQ_OBJECT public: - ParaFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + ParaFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~ParaFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/previewdialog.h b/src/gui/previewdialog.h index a0f7893..2dc5f0c 100644 --- a/src/gui/previewdialog.h +++ b/src/gui/previewdialog.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - PreviewDialog(TQWidget* tqparent); + PreviewDialog(TQWidget* parent); ~PreviewDialog(); void setXSLTFile(const TQString& file); diff --git a/src/gui/progress.h b/src/gui/progress.h index 4e01853..4df7b98 100644 --- a/src/gui/progress.h +++ b/src/gui/progress.h @@ -27,8 +27,8 @@ Q_OBJECT TQ_OBJECT public: - Progress(TQWidget* tqparent); - Progress(int totalSteps, TQWidget* tqparent); + Progress(TQWidget* parent); + Progress(int totalSteps, TQWidget* parent); bool isDone() const; void setDone(); diff --git a/src/gui/ratingfieldwidget.h b/src/gui/ratingfieldwidget.h index f985ea2..91adb0c 100644 --- a/src/gui/ratingfieldwidget.h +++ b/src/gui/ratingfieldwidget.h @@ -29,7 +29,7 @@ Q_OBJECT TQ_OBJECT public: - RatingFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + RatingFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~RatingFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/ratingwidget.h b/src/gui/ratingwidget.h index 9a3e477..ff694e7 100644 --- a/src/gui/ratingwidget.h +++ b/src/gui/ratingwidget.h @@ -37,7 +37,7 @@ Q_OBJECT typedef TQPtrList<TQLabel> LabelList; public: - RatingWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name = 0); + RatingWidget(Data::FieldPtr field, TQWidget* parent, const char* name = 0); void clear(); TQString text() const; diff --git a/src/gui/richtextlabel.cpp b/src/gui/richtextlabel.cpp index a0b3a01..632f771 100644 --- a/src/gui/richtextlabel.cpp +++ b/src/gui/richtextlabel.cpp @@ -19,11 +19,11 @@ using Tellico::GUI::RichTextLabel; -RichTextLabel::RichTextLabel(TQWidget* tqparent) : TQTextEdit(tqparent) { +RichTextLabel::RichTextLabel(TQWidget* parent) : TQTextEdit(parent) { init(); } -RichTextLabel::RichTextLabel(const TQString& text, TQWidget* tqparent) : TQTextEdit(text, TQString(), tqparent) { +RichTextLabel::RichTextLabel(const TQString& text, TQWidget* parent) : TQTextEdit(text, TQString(), parent) { init(); } diff --git a/src/gui/richtextlabel.h b/src/gui/richtextlabel.h index 9f57fb6..e8c4777 100644 --- a/src/gui/richtextlabel.h +++ b/src/gui/richtextlabel.h @@ -27,8 +27,8 @@ Q_OBJECT TQ_OBJECT public: - RichTextLabel(TQWidget* tqparent); - RichTextLabel(const TQString& text, TQWidget* tqparent); + RichTextLabel(TQWidget* parent); + RichTextLabel(const TQString& text, TQWidget* parent); virtual TQSize tqsizeHint() const; diff --git a/src/gui/stringmapdialog.h b/src/gui/stringmapdialog.h index a0dec9f..dafcc46 100644 --- a/src/gui/stringmapdialog.h +++ b/src/gui/stringmapdialog.h @@ -41,7 +41,7 @@ Q_OBJECT TQ_OBJECT public: - StringMapDialog(const TQMap<TQString, TQString>& stringMap, TQWidget* tqparent, const char* name=0, bool modal=false); + StringMapDialog(const TQMap<TQString, TQString>& stringMap, TQWidget* parent, const char* name=0, bool modal=false); /** * Sets the titles for the key and value columns. diff --git a/src/gui/tabcontrol.h b/src/gui/tabcontrol.h index a99c94b..8c53854 100644 --- a/src/gui/tabcontrol.h +++ b/src/gui/tabcontrol.h @@ -30,7 +30,7 @@ public: /** * Constructor */ - TabControl(TQWidget* tqparent, const char* name=0); + TabControl(TQWidget* parent, const char* name=0); TQTabBar* tabBar() const; void setTabBarHidden(bool hide); diff --git a/src/gui/tablefieldwidget.h b/src/gui/tablefieldwidget.h index 03060b2..7e41783 100644 --- a/src/gui/tablefieldwidget.h +++ b/src/gui/tablefieldwidget.h @@ -31,7 +31,7 @@ Q_OBJECT TQ_OBJECT public: - TableFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + TableFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~TableFieldWidget() {} virtual TQString text() const; diff --git a/src/gui/urlfieldwidget.h b/src/gui/urlfieldwidget.h index 15c8087..8f1933d 100644 --- a/src/gui/urlfieldwidget.h +++ b/src/gui/urlfieldwidget.h @@ -34,7 +34,7 @@ Q_OBJECT TQ_OBJECT public: - URLFieldWidget(Data::FieldPtr field, TQWidget* tqparent, const char* name=0); + URLFieldWidget(Data::FieldPtr field, TQWidget* parent, const char* name=0); virtual ~URLFieldWidget(); virtual TQString text() const; |