Fixed incorrect TTQ rename (TTQ -> TQ)

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 6 years ago
parent 48e3cb37b5
commit e24d5b8952
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -39,7 +39,7 @@ KviColorWindow::KviColorWindow()
:TQWidget(0,"toplevel_color_window",TQt::WType_Popup)
{
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_NoFocus);
setFocusPolicy(TQ_NoFocus);
#else
setFocusPolicy(TQ_NoFocus);
#endif

@ -79,7 +79,7 @@
m_pWindow = wnd;
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_ClickFocus);
setFocusPolicy(TQ_ClickFocus);
#else
setFocusPolicy(TQ_ClickFocus);
#endif

@ -1169,7 +1169,7 @@ bool KviFrame::focusNextPrevChild(bool next)
if(w)
{
#ifdef COMPILE_USE_QT4
if(w->focusPolicy() == TTQ_StrongFocus)return false;
if(w->focusPolicy() == TQ_StrongFocus)return false;
#else
if(w->focusPolicy() == TQ_StrongFocus)return false;
#endif

@ -196,7 +196,7 @@ KviInputEditor::KviInputEditor(TQWidget * par,KviWindow *wnd,KviUserListView * v
#ifdef COMPILE_USE_QT4
setAutoFillBackground(false);
setFocusPolicy(TTQ_StrongFocus);
setFocusPolicy(TQ_StrongFocus);
#else
setBackgroundMode(TQt::NoBackground);
setFocusPolicy(TQ_StrongFocus);

@ -141,7 +141,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
}
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_ClickFocus);
setFocusPolicy(TQ_ClickFocus);
#else
setFocusPolicy(TQ_ClickFocus);
#endif
@ -191,7 +191,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
m_pMaskBox = new KviTalListView(this);
#ifdef COMPILE_USE_QT4
m_pMaskBox->setFocusPolicy(TTQ_ClickFocus);
m_pMaskBox->setFocusPolicy(TQ_ClickFocus);
#else
m_pMaskBox->setFocusPolicy(TQ_ClickFocus);
#endif
@ -210,7 +210,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
m_pRemoveMask = new TQPushButton(__tr2qs("Re&move"),this);
m_pRemoveMask->setEnabled(isEnabled);
#ifdef COMPILE_USE_QT4
m_pRemoveMask->setFocusPolicy(TTQ_ClickFocus);
m_pRemoveMask->setFocusPolicy(TQ_ClickFocus);
#else
m_pRemoveMask->setFocusPolicy(TQ_ClickFocus);
#endif
@ -222,7 +222,7 @@ KviMaskEditor::KviMaskEditor(TQWidget * par,KviWindowToolPageButton* button,KviP
m_pAddButton = new TQPushButton(__tr2qs("Add"),this);
m_pAddButton->setEnabled(isEnabled);
#ifdef COMPILE_USE_QT4
m_pAddButton->setFocusPolicy(TTQ_ClickFocus);
m_pAddButton->setFocusPolicy(TQ_ClickFocus);
#else
m_pAddButton->setFocusPolicy(TQ_ClickFocus);
#endif

@ -93,8 +93,8 @@ KviMdiManager::KviMdiManager(TQWidget * parent,KviFrame * pFrm,const char * name
resizeContents(width(),height());
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_NoFocus);
viewport()->setFocusPolicy(TTQ_NoFocus);
setFocusPolicy(TQ_NoFocus);
viewport()->setFocusPolicy(TQ_NoFocus);
#else
setFocusPolicy(TQ_NoFocus);
viewport()->setFocusPolicy(TQ_NoFocus);

@ -69,7 +69,7 @@ KviModeEditor::KviModeEditor(TQWidget * par,KviWindowToolPageButton* button,cons
TQGridLayout *pMasterLayout = new TQGridLayout(this,2,1,2,2);
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_ClickFocus);
setFocusPolicy(TQ_ClickFocus);
#else
setFocusPolicy(TQ_ClickFocus);
#endif

@ -1247,7 +1247,7 @@ KviTreeTaskBar::KviTreeTaskBar()
//m_pListView->setMinimumWidth(KVI_OPTION_UINT(KviOption_uintTreeTaskBarMinimumWidth));
//m_pListView->setMaximumWidth(KVI_OPTION_UINT(KviOption_uintTreeTaskBarMaximumWidth));
#ifdef COMPILE_USE_QT4
m_pListView->setFocusPolicy(TTQ_NoFocus);
m_pListView->setFocusPolicy(TQ_NoFocus);
#else
m_pListView->setFocusPolicy(TQ_NoFocus);
#endif

@ -146,7 +146,7 @@ KviWindow::KviWindow(int type,KviFrame * lpFrm,const TQString &name,KviConsole *
setMinimumSize(KVI_WINDOW_MIN_WIDTH,KVI_WINDOW_MIN_HEIGHT);
#ifdef COMPILE_USE_QT4
//setAutoFillBackground(false);
setFocusPolicy(TTQ_StrongFocus);
setFocusPolicy(TQ_StrongFocus);
#else
setBackgroundMode(NoBackground);
setFocusPolicy(TQ_StrongFocus);
@ -289,7 +289,7 @@ bool KviWindow::focusNextPrevChild(bool next)
if(w)
{
#ifdef COMPILE_USE_QT4
if(w->focusPolicy() == TTQ_StrongFocus)return false;
if(w->focusPolicy() == TQ_StrongFocus)return false;
#else
if(w->focusPolicy() == TQ_StrongFocus)return false;
#endif
@ -1066,8 +1066,8 @@ bool KviWindow::eventFilter(TQObject *o,TQEvent *e)
break;
case TQEvent::MouseButtonPress:
#ifdef COMPILE_USE_QT4
if( (((TQWidget *)o)->focusPolicy() == TTQ_NoFocus) ||
(((TQWidget *)o)->focusPolicy() == TTQ_TabFocus))
if( (((TQWidget *)o)->focusPolicy() == TQ_NoFocus) ||
(((TQWidget *)o)->focusPolicy() == TQ_TabFocus))
#else
if( (((TQWidget *)o)->focusPolicy() == TQ_NoFocus) ||
(((TQWidget *)o)->focusPolicy() == TQ_TabFocus))
@ -1114,7 +1114,7 @@ void KviWindow::childInserted(TQWidget * o)
else
{
#ifdef COMPILE_USE_QT4
if(!m_pFocusHandler && (o->focusPolicy() == TTQ_StrongFocus))
if(!m_pFocusHandler && (o->focusPolicy() == TQ_StrongFocus))
#else
if(!m_pFocusHandler && (o->focusPolicy() == TQ_StrongFocus))
#endif

@ -670,7 +670,7 @@ KviActionEditor::KviActionEditor(TQWidget * par)
//m_pListView->setMultiSelection(false);
m_pListView->setShowSortIndicator(true);
#ifdef COMPILE_USE_QT4
m_pListView->setFocusPolicy(TTQ_StrongFocus);
m_pListView->setFocusPolicy(TQ_StrongFocus);
#else
m_pListView->setFocusPolicy(TQ_StrongFocus);
#endif

@ -154,7 +154,7 @@ KviLogViewMDIWindow::KviLogViewMDIWindow(KviModuleExtensionDescriptor * d,KviFra
m_pIrcView = new KviIrcView(m_pSplitter,g_pFrame,this);
#ifdef COMPILE_USE_QT4
m_pIrcView->setFocusPolicy(TTQ_ClickFocus);
m_pIrcView->setFocusPolicy(TQ_ClickFocus);
#else
m_pIrcView->setFocusPolicy(TQ_ClickFocus);
#endif

@ -128,7 +128,7 @@ KviNotifierWindow::KviNotifierWindow()
setBackgroundMode(TQt::NoBackground);
#ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_NoFocus);
setFocusPolicy(TQ_NoFocus);
#else
setFocusPolicy(TQ_NoFocus);
#endif

@ -105,10 +105,10 @@ const int widgettypes_cod[] = {
#ifdef COMPILE_USE_QT4
#define TQT_WIDGET_TABFOCUS TTQ_TabFocus
#define TQT_WIDGET_CLICKFOCUS TTQ_ClickFocus
#define TQT_WIDGET_STRONGFOCUS TTQ_StrongFocus
#define TQT_WIDGET_NOFOCUS TTQ_NoFocus
#define TQT_WIDGET_TABFOCUS TQ_TabFocus
#define TQT_WIDGET_CLICKFOCUS TQ_ClickFocus
#define TQT_WIDGET_STRONGFOCUS TQ_StrongFocus
#define TQT_WIDGET_NOFOCUS TQ_NoFocus
#else
#define TQT_WIDGET_TABFOCUS TQ_TabFocus

@ -149,7 +149,7 @@ UrlDialog::UrlDialog(KviPointerList<KviUrl> *g_pList)
// setFocusHandlerNoChildren(m_pUrlList);
#ifdef COMPILE_USE_QT4
m_pUrlList->setFocusPolicy(TTQ_StrongFocus);
m_pUrlList->setFocusPolicy(TQ_StrongFocus);
#else
m_pUrlList->setFocusPolicy(TQ_StrongFocus);
#endif

Loading…
Cancel
Save