summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/HeadersConfigurationPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/configuration/HeadersConfigurationPage.cpp')
-rw-r--r--src/gui/configuration/HeadersConfigurationPage.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/configuration/HeadersConfigurationPage.cpp b/src/gui/configuration/HeadersConfigurationPage.cpp
index f853d1c..cb39468 100644
--- a/src/gui/configuration/HeadersConfigurationPage.cpp
+++ b/src/gui/configuration/HeadersConfigurationPage.cpp
@@ -37,7 +37,7 @@
#include <klocale.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqpushbutton.h>
#include <tqstring.h>
@@ -141,7 +141,7 @@ HeadersConfigurationPage::HeadersConfigurationPage(TQWidget *parent,
}
// editHeader->setReadOnly( true );
- editHeader->tqsetAlignment( (col == 0 ? TQt::AlignLeft : (col >= 3 ? TQt::AlignRight : TQt::AlignCenter) ));
+ editHeader->setAlignment( (col == 0 ? TQt::AlignLeft : (col >= 3 ? TQt::AlignRight : TQt::AlignCenter) ));
layoutHeaders->addMultiCellWidget(editHeader, row, row, col, col+(width-1) );
@@ -153,7 +153,7 @@ HeadersConfigurationPage::HeadersConfigurationPage(TQWidget *parent,
shown.insert(key);
}
TQLabel *separator = new TQLabel(i18n("The composition comes here."), frameHeaders);
- separator->tqsetAlignment( TQt::AlignCenter );
+ separator->setAlignment( TQt::AlignCenter );
layoutHeaders->addMultiCellWidget(separator, 7, 7, 1, 4 );
//
@@ -233,7 +233,7 @@ HeadersConfigurationPage::slotAddNewProperty()
while (1) {
propertyName =
- (i > 0 ? i18n("{new property %1}").tqarg(i) : i18n("{new property}"));
+ (i > 0 ? i18n("{new property %1}").arg(i) : i18n("{new property}"));
if (!m_doc->getComposition().getMetadata().has(qstrtostr(propertyName)) &&
m_metadata->findItem(propertyName,0) == 0)
break;