diff options
Diffstat (limited to 'kexi/plugins/forms/kexiactionselectiondialog.cpp')
-rw-r--r-- | kexi/plugins/forms/kexiactionselectiondialog.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kexi/plugins/forms/kexiactionselectiondialog.cpp b/kexi/plugins/forms/kexiactionselectiondialog.cpp index 9318bb5e..61585840 100644 --- a/kexi/plugins/forms/kexiactionselectiondialog.cpp +++ b/kexi/plugins/forms/kexiactionselectiondialog.cpp @@ -51,18 +51,18 @@ typedef KListViewItemTemplate<TQString> ActionSelectorDialogListItemBase; class ActionSelectorDialogListItem : public ActionSelectorDialogListItemBase { public: - ActionSelectorDialogListItem(const TQString& data, TQListView *tqparent, TQString label1) - : ActionSelectorDialogListItemBase(data, tqparent, label1) + ActionSelectorDialogListItem(const TQString& data, TQListView *parent, TQString label1) + : ActionSelectorDialogListItemBase(data, parent, label1) , fifoSorting(true) { - m_sortKey.sprintf("%2.2d", tqparent->childCount()); + m_sortKey.sprintf("%2.2d", parent->childCount()); } - ActionSelectorDialogListItem(const TQString& data, TQListViewItem *tqparent, TQString label1) - : ActionSelectorDialogListItemBase(data, tqparent, label1) + ActionSelectorDialogListItem(const TQString& data, TQListViewItem *parent, TQString label1) + : ActionSelectorDialogListItemBase(data, parent, label1) , fifoSorting(true) { - m_sortKey.sprintf("%2.2d", tqparent->childCount()); + m_sortKey.sprintf("%2.2d", parent->childCount()); } virtual TQString key( int column, bool ascending ) const @@ -78,8 +78,8 @@ protected: //--------------------------------------- -ActionsListViewBase::ActionsListViewBase(TQWidget* tqparent) - : KListView(tqparent) +ActionsListViewBase::ActionsListViewBase(TQWidget* parent) + : KListView(parent) { setResizeMode(TQListView::AllColumns); addColumn(""); @@ -115,8 +115,8 @@ void ActionsListViewBase::selectAction(const TQString& actionName) //--------------------------------------- -KActionsListViewBase::KActionsListViewBase(TQWidget* tqparent, KexiMainWindow* mainWin) - : ActionsListViewBase(tqparent) +KActionsListViewBase::KActionsListViewBase(TQWidget* parent, KexiMainWindow* mainWin) + : ActionsListViewBase(parent) , m_mainWin(mainWin) { } @@ -156,8 +156,8 @@ void KActionsListViewBase::init() class KActionsListView : public KActionsListViewBase { public: - KActionsListView(TQWidget* tqparent, KexiMainWindow* mainWin) - : KActionsListViewBase(tqparent, mainWin) + KActionsListView(TQWidget* parent, KexiMainWindow* mainWin) + : KActionsListViewBase(parent, mainWin) { } virtual ~KActionsListView() {} @@ -172,8 +172,8 @@ public: class CurrentFormActionsListView : public KActionsListViewBase { public: - CurrentFormActionsListView(TQWidget* tqparent, KexiMainWindow* mainWin) - : KActionsListViewBase(tqparent, mainWin) + CurrentFormActionsListView(TQWidget* parent, KexiMainWindow* mainWin) + : KActionsListViewBase(parent, mainWin) { } virtual ~CurrentFormActionsListView() {} @@ -188,8 +188,8 @@ public: class ActionCategoriesListView : public ActionsListViewBase { public: - ActionCategoriesListView(TQWidget* tqparent) //, KexiProject& project) - : ActionsListViewBase(tqparent) + ActionCategoriesListView(TQWidget* parent) //, KexiProject& project) + : ActionsListViewBase(parent) { TQListViewItem *item = new ActionSelectorDialogListItem("noaction", this, i18n("No action") ); const TQPixmap noIcon( KexiUtils::emptyIcon(KIcon::Small) ); @@ -243,8 +243,8 @@ public: class ActionToExecuteListView : public ActionsListViewBase { public: - ActionToExecuteListView(TQWidget* tqparent) - : ActionsListViewBase(tqparent) + ActionToExecuteListView(TQWidget* parent) + : ActionsListViewBase(parent) { } @@ -394,9 +394,9 @@ public: //------------------------------------- -KexiActionSelectionDialog::KexiActionSelectionDialog(KexiMainWindow* mainWin, TQWidget *tqparent, +KexiActionSelectionDialog::KexiActionSelectionDialog(KexiMainWindow* mainWin, TQWidget *parent, const KexiFormEventAction::ActionData& action, const TQCString& actionWidgetName) - : KDialogBase(tqparent, "actionSelectorDialog", true, i18n("Assigning Action to Command Button"), + : KDialogBase(parent, "actionSelectorDialog", true, i18n("Assigning Action to Command Button"), KDialogBase::Ok | KDialogBase::Cancel ) , d( new KexiActionSelectionDialogPrivate() ) { |