Replace TQ_*Focus* and TQ_Scale* defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 1 year ago
parent 670203a4b3
commit e1209cdbda
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -94,7 +94,7 @@ void BibleTime::initView() {
m_mdi = new CMDIArea(m_mainSplitter, "mdiarea" );
m_mdi->setMinimumSize(100, 100);
m_mdi->setFocusPolicy(TQ_ClickFocus);
m_mdi->setFocusPolicy(TQWidget::ClickFocus);
m_helpMenu = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), true, actionCollection());
}

@ -351,8 +351,8 @@ const bool CDisplayWindow::init() {
setCaption(windowCaption());
//setup focus stuff.
setFocusPolicy(TQ_ClickFocus);
parentWidget()->setFocusPolicy(TQ_ClickFocus);
setFocusPolicy(TQWidget::ClickFocus);
parentWidget()->setFocusPolicy(TQWidget::ClickFocus);
initActions();
initToolbars();

@ -32,7 +32,7 @@
CKCComboBox::CKCComboBox(bool rw,TQWidget* parent,const char* name)
: TQComboBox(rw,parent,name) {
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
if (lineEdit()) {
installEventFilter( lineEdit() );
}
@ -183,12 +183,12 @@ void CKeyChooserWidget::reset(TQStringList *list, int index, bool do_emit) {
void CKeyChooserWidget::init() {
oldKey = TQString();
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
m_comboBox = new CKCComboBox( true, this );
m_comboBox->setAutoCompletion( true );
m_comboBox->setInsertionPolicy(TQComboBox::NoInsertion);
m_comboBox->setFocusPolicy(TQ_WheelFocus);
m_comboBox->setFocusPolicy(TQWidget::WheelFocus);
m_mainLayout = new TQHBoxLayout( this );
m_mainLayout->addWidget(m_comboBox,5);

@ -85,7 +85,7 @@ CKeyReferenceWidget::CKeyReferenceWidget( CSwordBibleModuleInfo *mod, CSwordVers
updatelock = false;
m_module = mod;
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
// Erase button
KGuiItem erase_picture;

@ -22,7 +22,7 @@
#include <tqcursor.h>
CScrollButton::CScrollButton(TQWidget *parent, const char *name ) : TQToolButton(parent,name) {
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
setCursor( splitVCursor );
m_isLocked = false;

@ -43,15 +43,15 @@ CScrollerWidgetSet::CScrollerWidgetSet(TQWidget *parent, const char *name) : TQW
btn_up = new TQToolButton( UpArrow, this, "btn_up" );
btn_up->setFixedSize(WIDTH, ARROW_HEIGHT);
btn_up->setFocusPolicy(TQ_NoFocus);
btn_up->setFocusPolicy(TQWidget::NoFocus);
btn_fx = new CScrollButton( this, "btn_fx" );
btn_fx->setFixedSize(WIDTH, MOVER_HEIGHT);
btn_fx->setFocusPolicy(TQ_NoFocus);
btn_fx->setFocusPolicy(TQWidget::NoFocus);
btn_down = new TQToolButton( DownArrow, this, "btn_down" );
btn_down->setFixedSize(WIDTH, ARROW_HEIGHT);
btn_down->setFocusPolicy(TQ_NoFocus);
btn_down->setFocusPolicy(TQWidget::NoFocus);
m_layout->addWidget( btn_up,0 );
m_layout->addWidget( btn_fx,0 );
m_layout->addWidget( btn_down,0 );

@ -129,7 +129,7 @@ void CMainIndex::initView() {
setBackgroundMode(PaletteBase);
setFullWidth(true);
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
setAcceptDrops( true );
setDragEnabled( true );

@ -413,7 +413,7 @@ const TQString CSearchAnalysisItem::getToolTip() {
CSearchAnalysisView::CSearchAnalysisView(TQCanvas* canvas, TQWidget* parent)
: TQCanvasView(canvas, parent) {
setFocusPolicy(TQ_WheelFocus);
setFocusPolicy(TQWidget::WheelFocus);
m_toolTip = new ToolTip(this);
resize(sizeHint());
}

Loading…
Cancel
Save