summaryrefslogtreecommitdiffstats
path: root/kword/KWFrameStyleManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kword/KWFrameStyleManager.cpp')
-rw-r--r--kword/KWFrameStyleManager.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kword/KWFrameStyleManager.cpp b/kword/KWFrameStyleManager.cpp
index 781e9e8f..3d148f69 100644
--- a/kword/KWFrameStyleManager.cpp
+++ b/kword/KWFrameStyleManager.cpp
@@ -33,10 +33,10 @@
#include <tqtabwidget.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
-#include <tqbrush.h>
+#include <brush.h>
#include <tqgroupbox.h>
#include <tqpainter.h>
-#include <tqlayout.h>
+#include <layout.h>
/******************************************************************/
/* Class: KWTableStylePreview */
@@ -90,7 +90,7 @@ void KWFrameStylePreview::setFrameStyle( KWFrameStyle *_frameStyle )
frameStyle = _frameStyle;
- tqrepaint( true );
+ repaint( true );
}
/******************************************************************/
@@ -235,27 +235,27 @@ void KWFrameStyleManager::addGeneralTab()
tabLayout->setMargin( KDialog::marginHint() );
previewBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Preview" ), tab );
- previewBox->tqlayout()->setSpacing(KDialog::spacingHint());
- previewBox->tqlayout()->setMargin(KDialog::marginHint());
- TQGridLayout *previewLayout = new TQGridLayout( previewBox->tqlayout() );
+ previewBox->layout()->setSpacing(KDialog::spacingHint());
+ previewBox->layout()->setMargin(KDialog::marginHint());
+ TQGridLayout *previewLayout = new TQGridLayout( previewBox->layout() );
preview = new KWFrameStylePreview( previewBox );
- preview->resize(preview->tqsizeHint());
+ preview->resize(preview->sizeHint());
previewLayout->addWidget( preview, 0, 0 );
tabLayout->addMultiCellWidget( previewBox, 1, 1, 0, 1 );
m_nameString = new TQLineEdit( tab );
- m_nameString->resize(m_nameString->tqsizeHint() );
+ m_nameString->resize(m_nameString->sizeHint() );
connect( m_nameString, TQT_SIGNAL( textChanged( const TQString &) ), this, TQT_SLOT( renameStyle(const TQString &) ) );
tabLayout->addWidget( m_nameString, 0, 1 );
TQLabel *nameLabel = new TQLabel( tab );
nameLabel->setText( i18n( "Name:" ) );
- nameLabel->resize(nameLabel->tqsizeHint());
- nameLabel->tqsetAlignment( AlignRight | AlignVCenter );
+ nameLabel->resize(nameLabel->sizeHint());
+ nameLabel->setAlignment( AlignRight | AlignVCenter );
tabLayout->addWidget( nameLabel, 0, 0 );
@@ -383,7 +383,7 @@ void KWFrameStyleManager::addStyle()
{
save();
- TQString str = i18n( "New Framestyle Template (%1)" ).tqarg(numFrameStyles++);
+ TQString str = i18n( "New Framestyle Template (%1)" ).arg(numFrameStyles++);
if ( m_currentFrameStyle )
{
m_currentFrameStyle = new KWFrameStyle( *m_currentFrameStyle ); // Create a new style, initializing from the current one
@@ -598,7 +598,7 @@ void KWFrameStyleBackgroundTab::updateBrushConfiguration( const TQColor & _color
m_backgroundColor.setColor( _color );
brushPreview->show();
brushPreview->setBrush( m_backgroundColor );
- brushPreview->tqrepaint(true);
+ brushPreview->repaint(true);
}
TQString KWFrameStyleBackgroundTab::tabName()