summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kvirc/ui/kvi_colorwin.cpp2
-rw-r--r--src/kvirc/ui/kvi_cryptcontroller.cpp2
-rw-r--r--src/kvirc/ui/kvi_frame.cpp2
-rw-r--r--src/kvirc/ui/kvi_input.cpp2
-rw-r--r--src/kvirc/ui/kvi_maskeditor.cpp8
-rw-r--r--src/kvirc/ui/kvi_mdimanager.cpp4
-rw-r--r--src/kvirc/ui/kvi_modeeditor.cpp2
-rw-r--r--src/kvirc/ui/kvi_taskbar.cpp2
-rw-r--r--src/kvirc/ui/kvi_window.cpp10
-rw-r--r--src/modules/actioneditor/actioneditor.cpp2
-rw-r--r--src/modules/logview/logviewmdiwindow.cpp2
-rw-r--r--src/modules/notifier/notifierwindow.cpp2
-rw-r--r--src/modules/objects/class_widget.cpp8
-rw-r--r--src/modules/url/libkviurl.cpp2
14 files changed, 25 insertions, 25 deletions
diff --git a/src/kvirc/ui/kvi_colorwin.cpp b/src/kvirc/ui/kvi_colorwin.cpp
index 39a7051c..8b27750e 100644
--- a/src/kvirc/ui/kvi_colorwin.cpp
+++ b/src/kvirc/ui/kvi_colorwin.cpp
@@ -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
diff --git a/src/kvirc/ui/kvi_cryptcontroller.cpp b/src/kvirc/ui/kvi_cryptcontroller.cpp
index 1af4c18c..2a763163 100644
--- a/src/kvirc/ui/kvi_cryptcontroller.cpp
+++ b/src/kvirc/ui/kvi_cryptcontroller.cpp
@@ -79,7 +79,7 @@
m_pWindow = wnd;
#ifdef COMPILE_USE_QT4
- setFocusPolicy(TTQ_ClickFocus);
+ setFocusPolicy(TQ_ClickFocus);
#else
setFocusPolicy(TQ_ClickFocus);
#endif
diff --git a/src/kvirc/ui/kvi_frame.cpp b/src/kvirc/ui/kvi_frame.cpp
index fbc6249c..0af2393f 100644
--- a/src/kvirc/ui/kvi_frame.cpp
+++ b/src/kvirc/ui/kvi_frame.cpp
@@ -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
diff --git a/src/kvirc/ui/kvi_input.cpp b/src/kvirc/ui/kvi_input.cpp
index 3c082436..50693056 100644
--- a/src/kvirc/ui/kvi_input.cpp
+++ b/src/kvirc/ui/kvi_input.cpp
@@ -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);
diff --git a/src/kvirc/ui/kvi_maskeditor.cpp b/src/kvirc/ui/kvi_maskeditor.cpp
index 21921b5b..fb485a72 100644
--- a/src/kvirc/ui/kvi_maskeditor.cpp
+++ b/src/kvirc/ui/kvi_maskeditor.cpp
@@ -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
diff --git a/src/kvirc/ui/kvi_mdimanager.cpp b/src/kvirc/ui/kvi_mdimanager.cpp
index 5aab3116..f5dee8e7 100644
--- a/src/kvirc/ui/kvi_mdimanager.cpp
+++ b/src/kvirc/ui/kvi_mdimanager.cpp
@@ -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);
diff --git a/src/kvirc/ui/kvi_modeeditor.cpp b/src/kvirc/ui/kvi_modeeditor.cpp
index 5c385cf9..d77c0f02 100644
--- a/src/kvirc/ui/kvi_modeeditor.cpp
+++ b/src/kvirc/ui/kvi_modeeditor.cpp
@@ -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
diff --git a/src/kvirc/ui/kvi_taskbar.cpp b/src/kvirc/ui/kvi_taskbar.cpp
index f4e8b4e7..2634f5a2 100644
--- a/src/kvirc/ui/kvi_taskbar.cpp
+++ b/src/kvirc/ui/kvi_taskbar.cpp
@@ -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
diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp
index 44a26939..e031a9bf 100644
--- a/src/kvirc/ui/kvi_window.cpp
+++ b/src/kvirc/ui/kvi_window.cpp
@@ -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
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp
index a0ac665d..c0c24323 100644
--- a/src/modules/actioneditor/actioneditor.cpp
+++ b/src/modules/actioneditor/actioneditor.cpp
@@ -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
diff --git a/src/modules/logview/logviewmdiwindow.cpp b/src/modules/logview/logviewmdiwindow.cpp
index 7efa17f0..a3fac9fb 100644
--- a/src/modules/logview/logviewmdiwindow.cpp
+++ b/src/modules/logview/logviewmdiwindow.cpp
@@ -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
diff --git a/src/modules/notifier/notifierwindow.cpp b/src/modules/notifier/notifierwindow.cpp
index 69989127..06bfbd23 100644
--- a/src/modules/notifier/notifierwindow.cpp
+++ b/src/modules/notifier/notifierwindow.cpp
@@ -128,7 +128,7 @@ KviNotifierWindow::KviNotifierWindow()
setBackgroundMode(TQt::NoBackground);
#ifdef COMPILE_USE_QT4
- setFocusPolicy(TTQ_NoFocus);
+ setFocusPolicy(TQ_NoFocus);
#else
setFocusPolicy(TQ_NoFocus);
#endif
diff --git a/src/modules/objects/class_widget.cpp b/src/modules/objects/class_widget.cpp
index 1b514f12..ea8720b8 100644
--- a/src/modules/objects/class_widget.cpp
+++ b/src/modules/objects/class_widget.cpp
@@ -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
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp
index c0e647cd..0b67792c 100644
--- a/src/modules/url/libkviurl.cpp
+++ b/src/modules/url/libkviurl.cpp
@@ -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