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 = new CMDIArea(m_mainSplitter, "mdiarea" );
m_mdi->setMinimumSize(100, 100); 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()); m_helpMenu = new KHelpMenu(this, TDEGlobal::instance()->aboutData(), true, actionCollection());
} }

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

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

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

@ -22,7 +22,7 @@
#include <tqcursor.h> #include <tqcursor.h>
CScrollButton::CScrollButton(TQWidget *parent, const char *name ) : TQToolButton(parent,name) { CScrollButton::CScrollButton(TQWidget *parent, const char *name ) : TQToolButton(parent,name) {
setFocusPolicy(TQ_WheelFocus); setFocusPolicy(TQWidget::WheelFocus);
setCursor( splitVCursor ); setCursor( splitVCursor );
m_isLocked = false; 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 = new TQToolButton( UpArrow, this, "btn_up" );
btn_up->setFixedSize(WIDTH, ARROW_HEIGHT); 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 = new CScrollButton( this, "btn_fx" );
btn_fx->setFixedSize(WIDTH, MOVER_HEIGHT); 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 = new TQToolButton( DownArrow, this, "btn_down" );
btn_down->setFixedSize(WIDTH, ARROW_HEIGHT); 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_up,0 );
m_layout->addWidget( btn_fx,0 ); m_layout->addWidget( btn_fx,0 );
m_layout->addWidget( btn_down,0 ); m_layout->addWidget( btn_down,0 );

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

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

Loading…
Cancel
Save