summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCompletionDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCompletionDia.cpp')
-rw-r--r--lib/kotext/KoCompletionDia.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/KoCompletionDia.cpp b/lib/kotext/KoCompletionDia.cpp
index 2f5729b2..66d8d374 100644
--- a/lib/kotext/KoCompletionDia.cpp
+++ b/lib/kotext/KoCompletionDia.cpp
@@ -25,7 +25,7 @@
#include <kcompletion.h>
#include <kconfig.h>
#include <kdebug.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqvbox.h>
#include <tqcheckbox.h>
#include <tqpushbutton.h>
@@ -40,7 +40,7 @@ KoCompletionDia::KoCompletionDia( TQWidget *parent, const char *name, KoAutoForm
{
TQVBox *page = makeVBoxMainWidget();
m_widget = new KoCompletion(page, autoFormat);
- m_widget->layout()->setMargin(0);
+ m_widget->tqlayout()->setMargin(0);
connect( this, TQT_SIGNAL( user1Clicked() ), m_widget, TQT_SLOT(slotResetConf()));
setButtonWhatsThis(Ok,i18n("This will save your options."));
setButtonWhatsThis(Cancel,i18n("This will abort all changes."));
@@ -57,7 +57,7 @@ KoCompletion::KoCompletion(TQWidget *parent, KoAutoFormat *autoFormat) : KoCompl
m_autoFormat( *autoFormat ),
m_docAutoFormat( autoFormat )
{
- connect(cbAllowCompletion, TQT_SIGNAL(toggled ( bool )), this, TQT_SLOT( changeButtonStatus()));
+ connect(cbAllowCompletion, TQT_SIGNAL(toggled ( bool )), this, TQT_SLOT( changeButtontqStatus()));
TQStringList lst;
lst << i18n( "Enter" );
lst << i18n( "Tab" );
@@ -74,10 +74,10 @@ KoCompletion::KoCompletion(TQWidget *parent, KoAutoFormat *autoFormat) : KoCompl
connect( pbSaveCompletionEntry, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSaveCompletionEntry()));
slotResetConf(); // aka load config
- changeButtonStatus();
+ changeButtontqStatus();
}
-void KoCompletion::changeButtonStatus() {
+void KoCompletion::changeButtontqStatus() {
bool state = cbAllowCompletion->isChecked();
completionBox->setEnabled( state);
@@ -122,7 +122,7 @@ void KoCompletion::slotResetConf() {
default:
m_completionKeyAction->setCurrentItem( 0 );
}
- changeButtonStatus();
+ changeButtontqStatus();
}
void KoCompletion::slotAddCompletionEntry() {