diff options
Diffstat (limited to 'lib/kotext/KoCompletionDia.cpp')
-rw-r--r-- | lib/kotext/KoCompletionDia.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoCompletionDia.cpp b/lib/kotext/KoCompletionDia.cpp index 6289675d..66d8d374 100644 --- a/lib/kotext/KoCompletionDia.cpp +++ b/lib/kotext/KoCompletionDia.cpp @@ -34,8 +34,8 @@ #include <tqgroupbox.h> #include <tqwhatsthis.h> -KoCompletionDia::KoCompletionDia( TQWidget *tqparent, const char *name, KoAutoFormat * autoFormat ) - : KDialogBase( tqparent, name , true, i18n( "Completion" ), Ok|Cancel|User1, +KoCompletionDia::KoCompletionDia( TQWidget *parent, const char *name, KoAutoFormat * autoFormat ) + : KDialogBase( parent, name , true, i18n( "Completion" ), Ok|Cancel|User1, Ok, true, KGuiItem( i18n( "&Reset" ), "undo" ) ) { TQVBox *page = makeVBoxMainWidget(); @@ -53,7 +53,7 @@ void KoCompletionDia::slotOk() KDialogBase::slotOk(); } -KoCompletion::KoCompletion(TQWidget *tqparent, KoAutoFormat *autoFormat) : KoCompletionBase(tqparent), +KoCompletion::KoCompletion(TQWidget *parent, KoAutoFormat *autoFormat) : KoCompletionBase(parent), m_autoFormat( *autoFormat ), m_docAutoFormat( autoFormat ) { |