summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/HeadersConfigurationPage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:33:46 -0600
commit4faf11eccc5f08d2aa0540157d6eff80b7cdb02a (patch)
tree19bc4d69423c21bcde8ac0cb6fcb11146ae19137 /src/gui/configuration/HeadersConfigurationPage.cpp
parente6d6692eda797b10f322a83ffdcf23fca719709e (diff)
downloadrosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.tar.gz
rosegarden-4faf11eccc5f08d2aa0540157d6eff80b7cdb02a.zip
Rename a number of old tq methods that are no longer tq specific
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;