Rename old tq methods that no longer need a unique name

pull/1/head
Timothy Pearson 12 years ago
parent c9cb4f4874
commit 11191ef0b9

@ -62,8 +62,8 @@ KisColorSpaceFactoryRegistry::KisColorSpaceFactoryRegistry(TQStringList profileF
*/
// Load all colorspace modules
KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("Chalk/ColorSpace"),
TQString::tqfromLatin1("(Type == 'Service') and "
KTrader::OfferList offers = KTrader::self()->query(TQString::fromLatin1("Chalk/ColorSpace"),
TQString::fromLatin1("(Type == 'Service') and "
"([X-Chalk-Version] == 2)"));
if (offers.empty()) {

@ -340,10 +340,10 @@ TQDomElement ExifValue::save(TQDomDocument& doc)
UByteArray value = asUndefined();
TQByteArray data;
data.setRawData((char*)value.data(), value.size());
TQByteArray tqencodedData;
KCodecs::base64Encode( data, tqencodedData );
TQByteArray encodedData;
KCodecs::base64Encode( data, encodedData );
data.resetRawData( (char*)value.data(), value.size());
elmt.setAttribute("value", TQString(tqencodedData));
elmt.setAttribute("value", TQString(encodedData));
}
break;
case EXIF_TYPE_SSHORT:

@ -209,7 +209,7 @@ struct FillSegment {
// FillSegment* parent;
};
typedef enum { None = 0, Added = 1, Checked = 2 } tqStatus;
typedef enum { None = 0, Added = 1, Checked = 2 } Status;
KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) {
if (m_width < 0 || m_height < 0) {
@ -260,9 +260,9 @@ KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) {
stack.push(new FillSegment(startX, startY/*, 0*/));
tqStatus* map = new tqStatus[m_size];
Status* map = new Status[m_size];
memset(map, None, m_size * sizeof(tqStatus));
memset(map, None, m_size * sizeof(Status));
int progressPercent = 0; int pixelsDone = 0; int currentPercent = 0;
emit notifyProgressStage(i18n("Making fill outline..."), 0);

@ -40,8 +40,8 @@ KisFilterRegistry::KisFilterRegistry()
Q_ASSERT(KisFilterRegistry::m_singleton == 0);
KisFilterRegistry::m_singleton = this;
KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("Chalk/Filter"),
TQString::tqfromLatin1("(Type == 'Service') and "
KTrader::OfferList offers = KTrader::self()->query(TQString::fromLatin1("Chalk/Filter"),
TQString::fromLatin1("(Type == 'Service') and "
"([X-Chalk-Version] == 2)"));
KTrader::OfferList::ConstIterator iter;

@ -43,8 +43,8 @@ KisPaintOpRegistry::KisPaintOpRegistry()
Q_ASSERT(KisPaintOpRegistry::m_singleton == 0);
KisPaintOpRegistry::m_singleton = this;
KTrader::OfferList offers = KTrader::self()->query(TQString::tqfromLatin1("Chalk/Paintop"),
TQString::tqfromLatin1("(Type == 'Service') and "
KTrader::OfferList offers = KTrader::self()->query(TQString::fromLatin1("Chalk/Paintop"),
TQString::fromLatin1("(Type == 'Service') and "
"([X-Chalk-Version] == 2)"));
KTrader::OfferList::ConstIterator iter;

@ -645,7 +645,7 @@ of tile in x and y." visibility="public" xmi.id="408" type="void" name="tileCoor
<UML:Operation visibility="public" xmi.id="476" type="virtual void" isAbstract="true" name="insert" >
<UML:Parameter visibility="private" xmi.id="477" value="" type="KisTileSP" name="tile" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="478" type="virtual void" isAbstract="true" name="tqsizeHint" >
<UML:Operation visibility="public" xmi.id="478" type="virtual void" isAbstract="true" name="sizeHint" >
<UML:Parameter visibility="private" xmi.id="479" value="" type="Q_INT32" name="nelements" />
</UML:Operation>
<UML:Operation visibility="public" xmi.id="480" type="virtual " name="~KisTileCacheInterface" />
@ -4485,7 +4485,7 @@ in the constructor, you have to call loadAsync.
<listitem open="0" type="815" id="473" label="KisTileCacheInterface" />
<listitem open="0" type="815" id="474" label="flush" />
<listitem open="0" type="815" id="476" label="insert" />
<listitem open="0" type="815" id="478" label="tqsizeHint" />
<listitem open="0" type="815" id="478" label="sizeHint" />
<listitem open="0" type="815" id="480" label="~KisTileCacheInterface" />
</listitem>
<listitem open="0" type="813" id="1996" label="KisTileCommand" >

@ -32,7 +32,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@ -49,7 +49,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@ -76,13 +76,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>16</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>16</width>
<height>32767</height>

@ -66,7 +66,7 @@ layer, the current layer will be used.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>

@ -42,7 +42,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>51</width>
<height>20</height>

@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@ -79,7 +79,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>

@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>61</width>
<height>20</height>
@ -95,7 +95,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>

@ -50,13 +50,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>250</width>
<height>20</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>250</width>
<height>20</height>
@ -84,13 +84,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>254</width>
<height>254</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>254</width>
<height>254</height>
@ -116,13 +116,13 @@
<property name="name">
<cstring>kCurve</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>250</width>
<height>250</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>250</width>
<height>250</height>
@ -143,13 +143,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>250</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>20</width>
<height>250</height>
@ -253,7 +253,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>131</width>
<height>20</height>

@ -65,13 +65,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>20</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>20</height>
@ -134,13 +134,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>20</width>
<height>32767</height>

@ -69,7 +69,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@ -115,7 +115,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>24</width>
<height>20</height>
@ -134,7 +134,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@ -153,7 +153,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>

@ -55,7 +55,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>101</height>

@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>90</height>
@ -46,7 +46,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@ -118,7 +118,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>
@ -135,7 +135,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>51</width>
<height>20</height>

@ -20,13 +20,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>32767</height>
@ -70,13 +70,13 @@
<property name="name">
<cstring>histview</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>256</width>
<height>256</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>256</width>
<height>256</height>
@ -98,7 +98,7 @@
<property name="name">
<cstring>ingradient</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>256</width>
<height>20</height>
@ -134,7 +134,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>25</width>
<height>20</height>
@ -162,7 +162,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>25</width>
<height>20</height>
@ -204,7 +204,7 @@
<property name="name">
<cstring>outgradient</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>256</width>
<height>20</height>
@ -240,7 +240,7 @@
<property name="sizeType">
<enum>MinimumExpanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>50</width>
<height>20</height>
@ -274,7 +274,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@ -291,7 +291,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>

@ -73,7 +73,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@ -90,7 +90,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

@ -124,7 +124,7 @@ void KisRainDropsFilter::rainDrops(KisPaintDeviceSP src, KisPaintDeviceSP dst, c
KisColorSpace * cs = src->colorSpace();
TQDateTime dt = TQDateTime::tqcurrentDateTime();
TQDateTime dt = TQDateTime::currentDateTime();
TQDateTime Y2000( TQDate(2000, 1, 1), TQTime(0, 0, 0) );
srand ((uint) dt.secsTo(Y2000));

@ -37,7 +37,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>50</height>
@ -98,7 +98,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>20</height>

@ -84,7 +84,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>21</width>
<height>20</height>
@ -115,7 +115,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

@ -29,7 +29,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
@ -46,7 +46,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>60</height>

@ -68,7 +68,7 @@ KisBrushOpSettings::KisBrushOpSettings(TQWidget *parent)
m_darken = new TQCheckBox(i18n("Darken"), m_optionsWidget);
m_curveControl = new WdgBrushCurveControl(m_optionsWidget);
TQToolButton* moreButton = new TQToolButton(TQt::UpArrow, m_optionsWidget);
moreButton->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
moreButton->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
moreButton->setMinimumSize(TQSize(24,24)); // Bah, I had hoped the above line would make this unneeded
connect(moreButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCustomCurves()));

@ -183,7 +183,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>

@ -77,7 +77,7 @@ KisSmudgeOpSettings::KisSmudgeOpSettings(TQWidget *parent, bool isTablet)
m_curveControl->tabWidget->setTabToolTip(m_curveControl->tabWidget->page(2),
i18n("Modifies the rate. Bottom is 0% of the rate top is 100% of the original rate."));
TQToolButton* moreButton = new TQToolButton(TQt::UpArrow, m_optionsWidget);
moreButton->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
moreButton->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
moreButton->setMinimumSize(TQSize(24,24)); // Bah, I had hoped the above line would make this unneeded
connect(moreButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCustomCurves()));
} else {

@ -47,13 +47,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>200</width>
<height>32767</height>

@ -185,7 +185,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>

@ -197,7 +197,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>

@ -187,7 +187,7 @@ DlgColorRange::DlgColorRange( KisView * view, KisPaintDeviceSP dev, TQWidget *
setCaption(i18n("Color Range"));
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
if (m_dev->image()->undo()) m_transaction = new KisSelectedTransaction(i18n("Select by Color Range"), m_dev);

@ -176,7 +176,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>

@ -47,7 +47,7 @@ DlgColorSpaceConversion::DlgColorSpaceConversion( TQWidget * parent,
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
m_page->cmbColorSpaces->setIDList(KisMetaRegistry::instance()->csRegistry()->listKeys());

@ -46,7 +46,7 @@ DlgDropshadow::DlgDropshadow( const TQString & /*imageCS*/,
m_page = new WdgDropshadow(this, "dropshadow");
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
KConfig * cfg = KGlobal::config();
m_page->xOffsetSpinBox->setValue( cfg->readNumEntry("dropshadow_x", 8) );

@ -116,7 +116,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>200</width>
<height>20</height>
@ -144,7 +144,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>200</width>
<height>20</height>
@ -169,7 +169,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>190</width>
<height>20</height>
@ -194,7 +194,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>120</width>
<height>31</height>

@ -56,7 +56,7 @@ KisDlgFiltersGallery::KisDlgFiltersGallery(KisView* view, TQWidget* parent,const
connect(m_widget->filtersList , TQT_SIGNAL(selectionChanged(TQIconViewItem*)), this, TQT_SLOT(selectionHasChanged(TQIconViewItem* )));
// Initialize configWidgetHolder
m_widget->configWidgetHolder->setColumnLayout ( 0, Qt::Horizontal );
//m_widget->configWidgetHolder->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum);
//m_widget->configWidgetHolder->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum);
// Initialize preview widget
if (m_view->canvasSubject()->currentImg() && m_view->canvasSubject()->currentImg()->activeDevice())
@ -64,8 +64,8 @@ KisDlgFiltersGallery::KisDlgFiltersGallery(KisView* view, TQWidget* parent,const
m_widget->previewWidget->slotSetDevice( m_view->canvasSubject()->currentImg()->activeDevice().data() );
}
connect( m_widget->previewWidget, TQT_SIGNAL(updated()), this, TQT_SLOT(refreshPreview()));
resize( tqminimumSizeHint());
m_widget->previewWidget->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::MinimumExpanding);
resize( minimumSizeHint());
m_widget->previewWidget->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::MinimumExpanding);
m_labelNoCW = new TQLabel(i18n("No configuration options are available for this filter."), m_widget->configWidgetHolder);
m_widget->configWidgetHolder->tqlayout()->add(m_labelNoCW);
m_labelNoCW->hide();
@ -94,7 +94,7 @@ void KisDlgFiltersGallery::selectionHasChanged ( TQIconViewItem * item )
m_currentConfigWidget = m_currentFilter->createConfigurationWidget(m_widget->configWidgetHolder, activeLayer->paintDevice());
if(m_currentConfigWidget != 0) {
//m_currentConfigWidget->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
//m_currentConfigWidget->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
m_widget->configWidgetHolder->tqlayout()->add(m_currentConfigWidget);
m_currentConfigWidget->show();
connect(m_currentConfigWidget, TQT_SIGNAL(sigPleaseUpdatePreview()), this, TQT_SLOT(slotConfigChanged()));

@ -49,7 +49,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>

@ -47,7 +47,7 @@ DlgHistogram::DlgHistogram( TQWidget * parent, const char * name)
setCaption(i18n("Histogram"));
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
}
DlgHistogram::~DlgHistogram()

@ -56,7 +56,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@ -75,7 +75,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>200</width>
<height>0</height>
@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Preferred</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>21</height>
@ -124,7 +124,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>256</width>
<height>150</height>

@ -58,7 +58,7 @@ DlgImageSize::DlgImageSize( TQWidget * parent,
m_page->cmbFilterType->setCurrentText("Mitchell");
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
unblockAll();

@ -59,7 +59,7 @@ DlgLayerSize::DlgLayerSize( TQWidget * parent,
m_page->cmbFilterType->setCurrentText("Mitchell");
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
unblockAll();

@ -51,7 +51,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>65</width>
<height>20</height>
@ -68,7 +68,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>65</width>
<height>20</height>
@ -123,7 +123,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>121</width>
<height>20</height>

@ -45,7 +45,7 @@ DlgBorderSelection::DlgBorderSelection( TQWidget * parent, const char * name) :
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(okClicked()));
}

@ -45,7 +45,7 @@ DlgGrowSelection::DlgGrowSelection( TQWidget * parent, const char * name) : sup
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(okClicked()));
}

@ -45,7 +45,7 @@ DlgShrinkSelection::DlgShrinkSelection( TQWidget * parent, const char * name) :
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()), this, TQT_SLOT(okClicked()));
}

@ -49,7 +49,7 @@ DlgPerfTest::DlgPerfTest( TQWidget * parent,
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()),
this, TQT_SLOT(okClicked()));

@ -49,7 +49,7 @@ DlgRotateImage::DlgRotateImage( TQWidget * parent,
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()),
this, TQT_SLOT(okClicked()));

@ -48,7 +48,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@ -79,7 +79,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>41</width>
<height>20</height>
@ -110,7 +110,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
@ -219,7 +219,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>91</height>

@ -44,7 +44,7 @@ public:
KSnapshotThumb(TQWidget *parent, const char *name = 0)
: TQLabel(parent, name)
{
tqsetAlignment(AlignHCenter | AlignVCenter);
setAlignment(AlignHCenter | AlignVCenter);
}
virtual ~KSnapshotThumb() {}

@ -23,7 +23,7 @@
<property name="name">
<cstring>lblImage</cstring>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>200</width>
<height>130</height>
@ -76,7 +76,7 @@ The image can be dragged to another application or document to copy the full scr
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>16</width>
<height>16</height>
@ -167,7 +167,7 @@ If &lt;i&gt;no delay&lt;/i&gt; is set, the program will wait for a mouse click b
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>156</width>
<height>16</height>
@ -225,7 +225,7 @@ If &lt;i&gt;no delay&lt;/i&gt; is set, the program will wait for a mouse click b
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>31</height>

@ -161,8 +161,8 @@ void RegionGrabber::drawRubber()
p.setPen( TQPen( color0, 1 ) );
p.setBrush( NoBrush );
tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, tqcolorGroup(),
TQStyle::Style_Default, TQStyleOption( tqcolorGroup().base() ) );
tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, grabRect, colorGroup(),
TQStyle::Style_Default, TQStyleOption( colorGroup().base() ) );
p.end();
}

@ -43,7 +43,7 @@ DlgSeparate::DlgSeparate( const TQString & imageCS,
m_page = new WdgSeparations(this, "separate_image");
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
m_page->lblColormodel->setText(layerCS);
m_page->grpOutput->hide();

@ -82,7 +82,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>

@ -50,7 +50,7 @@ DlgShearImage::DlgShearImage( TQWidget * parent,
Q_CHECK_PTR(m_page);
setMainWidget(m_page);
resize(m_page->tqsizeHint());
resize(m_page->sizeHint());
connect(this, TQT_SIGNAL(okClicked()),
this, TQT_SLOT(okClicked()));

@ -56,7 +56,7 @@
<property name="name">
<cstring>shearAngleY</cstring>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>32767</width>
<height>100</height>

@ -64,13 +64,13 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqminimumSize">
<property name="minimumSize">
<size>
<width>150</width>
<height>150</height>