Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 1 year ago
parent 122a27a0a8
commit 8c5aec1920
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -257,7 +257,7 @@ static const char * blue_xpm[] = {
static TQPushButton * ctrlButton (TQWidget * w, TQBoxLayout * l, const char ** p, int key = 0) { static TQPushButton * ctrlButton (TQWidget * w, TQBoxLayout * l, const char ** p, int key = 0) {
TQPushButton * b = new TQPushButton (TQIconSet (TQPixmap(p)), TQString (), w); TQPushButton * b = new TQPushButton (TQIconSet (TQPixmap(p)), TQString (), w);
b->setFocusPolicy (TQ_NoFocus); b->setFocusPolicy (TQWidget::NoFocus);
b->setFlat (true); b->setFlat (true);
if (key) if (key)
b->setAccel (TQKeySequence (key)); b->setAccel (TQKeySequence (key));
@ -268,7 +268,7 @@ static TQPushButton * ctrlButton (TQWidget * w, TQBoxLayout * l, const char ** p
KDE_NO_CDTOR_EXPORT KDE_NO_CDTOR_EXPORT
KMPlayerMenuButton::KMPlayerMenuButton (TQWidget * parent, TQBoxLayout * l, const char ** p, int key) KMPlayerMenuButton::KMPlayerMenuButton (TQWidget * parent, TQBoxLayout * l, const char ** p, int key)
: TQPushButton (TQIconSet (TQPixmap(p)), TQString (), parent, "kde_kmplayer_control_button") { : TQPushButton (TQIconSet (TQPixmap(p)), TQString (), parent, "kde_kmplayer_control_button") {
setFocusPolicy (TQ_NoFocus); setFocusPolicy (TQWidget::NoFocus);
setFlat (true); setFlat (true);
if (key) if (key)
setAccel (TQKeySequence (key)); setAccel (TQKeySequence (key));

@ -218,7 +218,7 @@ KDE_NO_EXPORT void View::init (TDEActionCollection * action_collection) {
m_widgetstack->addWidget (m_multiedit); m_widgetstack->addWidget (m_multiedit);
m_widgetstack->addWidget (m_widgettypes[WT_Picture]); m_widgetstack->addWidget (m_widgettypes[WT_Picture]);
setFocusPolicy (TQ_ClickFocus); setFocusPolicy (TQWidget::ClickFocus);
setAcceptDrops (true); setAcceptDrops (true);
m_view_area->resizeEvent (0L); m_view_area->resizeEvent (0L);

Loading…
Cancel
Save