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
KviTalMainWindow::KviTalMainWindow(TQWidget * par,const char * nam)
: KMainWindow(par,nam)
: TDEMainWindow(par,nam)
{
}

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

@ -28,7 +28,7 @@
#ifdef COMPILE_TDE_SUPPORT
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);
}

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

@ -141,7 +141,7 @@ KviDockWidget::KviDockWidget(KviFrame * frm,const char * name)
m_pAwayPopup = new KviTalPopupMenu(this);
#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"));
#else
m_pContextPopup = new KviTalPopupMenu(this);

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

Loading…
Cancel
Save