Rename a number of classes to enhance compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent ecc4217eb9
commit bbee81eada

@ -28,7 +28,7 @@
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam) KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam)
: KMainWindow(par,nam) : TDEMainWindow(par,nam)
{ {
} }

@ -25,7 +25,7 @@
#include <kmainwindow.h> #include <kmainwindow.h>
class KVILIB_API KviTalMainWindow : public KMainWindow class KVILIB_API KviTalMainWindow : public TDEMainWindow
{ {
Q_OBJECT Q_OBJECT

@ -28,7 +28,7 @@
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
KviTalToolBar::KviTalToolBar(const TQString &label,TQMainWindow *w,TQT_TOOLBARDOCK_TYPE dock,bool bNewLine,const char * nam) KviTalToolBar::KviTalToolBar(const TQString &label,TQMainWindow *w,TQT_TOOLBARDOCK_TYPE dock,bool bNewLine,const char * nam)
: KToolBar(w,dock,bNewLine,nam) : TDEToolBar(w,dock,bNewLine,nam)
{ {
setLabel(label); setLabel(label);
} }

@ -26,7 +26,7 @@
#include "kvi_tal_toolbardocktype.h" #include "kvi_tal_toolbardocktype.h"
class KVILIB_API KviTalToolBar : public KToolBar class KVILIB_API KviTalToolBar : public TDEToolBar
{ {
Q_OBJECT Q_OBJECT

@ -141,7 +141,7 @@ KviDockWidget::KviDockWidget(KviFrame * frm,const char * name)
m_pAwayPopup = new KviTalPopupMenu(this); m_pAwayPopup = new KviTalPopupMenu(this);
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
m_pContextPopup = new KPopupMenu(this); m_pContextPopup = new TDEPopupMenu(this);
m_pContextPopup->insertTitle(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_KVIRC)),__tr2qs("KVIrc")); m_pContextPopup->insertTitle(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_KVIRC)),__tr2qs("KVIrc"));
#else #else
m_pContextPopup = new KviTalPopupMenu(this); m_pContextPopup = new KviTalPopupMenu(this);

@ -24,7 +24,7 @@
#include "kvi_frame.h" #include "kvi_frame.h"
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
class KPopupMenu; class TDEPopupMenu;
#else #else
class KviTalPopupMenu; class KviTalPopupMenu;
#endif #endif
@ -49,7 +49,7 @@ protected:
KviFrame * m_pFrm; KviFrame * m_pFrm;
KviDynamicToolTip * m_pTip; KviDynamicToolTip * m_pTip;
#ifdef COMPILE_TDE_SUPPORT #ifdef COMPILE_TDE_SUPPORT
KPopupMenu * m_pContextPopup; TDEPopupMenu * m_pContextPopup;
#else #else
KviTalPopupMenu * m_pContextPopup; KviTalPopupMenu * m_pContextPopup;
#endif #endif

Loading…
Cancel
Save