Replaced various '#define' with actual strings - part 3

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/28/head
Michele Calgaro 1 year ago
parent 98fa633bd5
commit 681b905a28
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -234,7 +234,7 @@ void SimpleArrowButton::drawButton( TQPainter *p )
int flags = TQStyle::Style_Default | TQStyle::Style_Enabled; int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
if (isDown() || isOn()) flags |= TQStyle::Style_Down; if (isDown() || isOn()) flags |= TQStyle::Style_Down;
style().tqdrawPrimitive(pe, p, r, colorGroup(), flags); style().drawPrimitive(pe, p, r, colorGroup(), flags);
} }
void SimpleArrowButton::enterEvent( TQEvent *e ) void SimpleArrowButton::enterEvent( TQEvent *e )

@ -234,7 +234,7 @@ void SimpleArrowButton::drawButton( TQPainter *p )
int flags = TQStyle::Style_Default | TQStyle::Style_Enabled; int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
if (isDown() || isOn()) flags |= TQStyle::Style_Down; if (isDown() || isOn()) flags |= TQStyle::Style_Down;
style().tqdrawPrimitive(pe, p, r, colorGroup(), flags); style().drawPrimitive(pe, p, r, colorGroup(), flags);
} }
void SimpleArrowButton::enterEvent( TQEvent *e ) void SimpleArrowButton::enterEvent( TQEvent *e )

@ -139,12 +139,12 @@ void CrashesPlugin::slotAboutToShow()
void CrashesPlugin::newBookmarkCallback( const TQString & text, const TQCString & url, void CrashesPlugin::newBookmarkCallback( const TQString & text, const TQCString & url,
const TQString & ) const TQString & )
{ {
m_crashesList.prepend(tqMakePair(text,url)); m_crashesList.prepend(qMakePair(text,url));
} }
void CrashesPlugin::endFolderCallback( ) void CrashesPlugin::endFolderCallback( )
{ {
m_crashesList.prepend(tqMakePair(TQString("-"),TQCString("-"))); m_crashesList.prepend(qMakePair(TQString("-"),TQCString("-")));
} }
void CrashesPlugin::slotClearCrashes() { void CrashesPlugin::slotClearCrashes() {

@ -2152,7 +2152,7 @@ void TreeMapWidget::drawTreeMap()
if (hasFocus()) { if (hasFocus()) {
TQPainter p(this); TQPainter p(this);
style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, style().drawPrimitive( TQStyle::PE_FocusRect, &p,
TQRect(0, 0, TQWidget::width(), TQWidget::height()), TQRect(0, 0, TQWidget::width(), TQWidget::height()),
colorGroup() ); colorGroup() );
} }

@ -157,7 +157,7 @@ void KonqMFIcon::extractCard(DOM::Node node) {
if (!name.isEmpty()) { if (!name.isEmpty()) {
value += "END:VCARD\n"; value += "END:VCARD\n";
_cards.append(tqMakePair(name, value)); _cards.append(qMakePair(name, value));
} }
} }
@ -202,7 +202,7 @@ void KonqMFIcon::extractEvent(DOM::Node node) {
if (!name.isEmpty()) { if (!name.isEmpty()) {
value += "END:VEVENT\nEND:VCALENDAR\n"; value += "END:VEVENT\nEND:VCALENDAR\n";
_events.append(tqMakePair(name, value)); _events.append(qMakePair(name, value));
} }
} }

@ -124,12 +124,12 @@ void MinitoolsPlugin::newBookmarkCallback(
const TQString & text, const TQCString & url, const TQString & const TQString & text, const TQCString & url, const TQString &
) { ) {
kdDebug(90150) << "MinitoolsPlugin::newBookmarkCallback" << text << url << endl; kdDebug(90150) << "MinitoolsPlugin::newBookmarkCallback" << text << url << endl;
m_minitoolsList.prepend(tqMakePair(text,url)); m_minitoolsList.prepend(qMakePair(text,url));
} }
void MinitoolsPlugin::endFolderCallback() { void MinitoolsPlugin::endFolderCallback() {
kdDebug(90150) << "MinitoolsPlugin::endFolderCallback" << endl; kdDebug(90150) << "MinitoolsPlugin::endFolderCallback" << endl;
m_minitoolsList.prepend(tqMakePair(TQString("-"),TQCString("-"))); m_minitoolsList.prepend(qMakePair(TQString("-"),TQCString("-")));
} }
TQString MinitoolsPlugin::minitoolsFilename(bool local) { TQString MinitoolsPlugin::minitoolsFilename(bool local) {

@ -363,7 +363,7 @@ void SearchBarPlugin::setIcon()
TQPainter p( &arrowmap ); TQPainter p( &arrowmap );
p.drawPixmap(0, 2, m_searchIcon); p.drawPixmap(0, 2, m_searchIcon);
TQStyle::SFlags arrowFlags = TQStyle::Style_Default; TQStyle::SFlags arrowFlags = TQStyle::Style_Default;
m_searchCombo->style().tqdrawPrimitive(TQStyle::PE_ArrowDown, &p, TQRect(arrowmap.width()-6, m_searchCombo->style().drawPrimitive(TQStyle::PE_ArrowDown, &p, TQRect(arrowmap.width()-6,
arrowmap.height()-6, 6, 5), m_searchCombo->colorGroup(), arrowFlags, TQStyleOption() ); arrowmap.height()-6, 6, 5), m_searchCombo->colorGroup(), arrowFlags, TQStyleOption() );
p.end(); p.end();
m_searchIcon = arrowmap; m_searchIcon = arrowmap;

Loading…
Cancel
Save