diff options
Diffstat (limited to 'kexi/main/kexifinddialog.cpp')
-rw-r--r-- | kexi/main/kexifinddialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/main/kexifinddialog.cpp b/kexi/main/kexifinddialog.cpp index 6f451aef..0aa0cd35 100644 --- a/kexi/main/kexifinddialog.cpp +++ b/kexi/main/kexifinddialog.cpp @@ -48,18 +48,18 @@ class KexiFindDialog::Private } //! Connects action \a action with appropriate signal \a member //! and optionally adds accel that will receive shortcut for \a action - //! at global scope of the dialog \a tqparent. - void setActionAndAccel(KAction *action, TQWidget* tqparent, const char* member) + //! at global scope of the dialog \a parent. + void setActionAndAccel(KAction *action, TQWidget* parent, const char* member) { if (!action) return; - TQObject::connect(tqparent, member, action, TQT_SLOT(activate())); + TQObject::connect(parent, member, action, TQT_SLOT(activate())); if (action->shortcut().isNull()) return; - TQAccel *accel = new TQAccel(tqparent); // we want to handle dialog-wide shortcut as well + TQAccel *accel = new TQAccel(parent); // we want to handle dialog-wide shortcut as well accels.append( accel ); accel->connectItem( - accel->insertItem( action->shortcut() ), tqparent, member ); + accel->insertItem( action->shortcut() ), parent, member ); } TQStringList lookInColumnNames; @@ -75,8 +75,8 @@ class KexiFindDialog::Private //------------------------------------------ -KexiFindDialog::KexiFindDialog( TQWidget* tqparent ) - : KexiFindDialogBase(tqparent, "KexiFindDialog", false/*!modal*/, +KexiFindDialog::KexiFindDialog( TQWidget* parent ) + : KexiFindDialogBase(parent, "KexiFindDialog", false/*!modal*/, TQt::WType_Dialog|TQt::WStyle_NormalBorder|TQt::WStyle_Title |TQt::WStyle_SysMenu|TQt::WStyle_Customize|TQt::WStyle_Tool) , d( new Private() ) |