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) :TQWidget(0,"toplevel_color_window",TQt::WType_Popup)
{ {
#ifdef COMPILE_USE_QT4 #ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_NoFocus); setFocusPolicy(TQ_NoFocus);
#else #else
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQ_NoFocus);
#endif #endif

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

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

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

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

@ -93,8 +93,8 @@ KviMdiManager::KviMdiManager(TQWidget * parent,KviFrame * pFrm,const char * name
resizeContents(width(),height()); resizeContents(width(),height());
#ifdef COMPILE_USE_QT4 #ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_NoFocus); setFocusPolicy(TQ_NoFocus);
viewport()->setFocusPolicy(TTQ_NoFocus); viewport()->setFocusPolicy(TQ_NoFocus);
#else #else
setFocusPolicy(TQ_NoFocus); setFocusPolicy(TQ_NoFocus);
viewport()->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); TQGridLayout *pMasterLayout = new TQGridLayout(this,2,1,2,2);
#ifdef COMPILE_USE_QT4 #ifdef COMPILE_USE_QT4
setFocusPolicy(TTQ_ClickFocus); setFocusPolicy(TQ_ClickFocus);
#else #else
setFocusPolicy(TQ_ClickFocus); setFocusPolicy(TQ_ClickFocus);
#endif #endif

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

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

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

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

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

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

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

Loading…
Cancel
Save