diff options
Diffstat (limited to 'src/kscopepixmaps.cpp')
-rw-r--r-- | src/kscopepixmaps.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/kscopepixmaps.cpp b/src/kscopepixmaps.cpp index 495d756..1eec922 100644 --- a/src/kscopepixmaps.cpp +++ b/src/kscopepixmaps.cpp @@ -253,27 +253,27 @@ KScopePixmaps::~KScopePixmaps() /** * Creates the array of embedded pixmaps. - * This function is separated from the constructor since QPixmap objects + * This function is separated from the constructor since TQPixmap objects * cannot be created at the time the static KScopePixmaps object is * allocated. */ void KScopePixmaps::init() { // Create the pixmap array - m_pPixArray = new QPixmap * [PIX_ARRAY_SIZE]; + m_pPixArray = new TQPixmap * [PIX_ARRAY_SIZE]; // Create all pixmaps - m_pPixArray[SymFunc] = new QPixmap(XPM_FUNC); - m_pPixArray[SymVar] = new QPixmap(XPM_VAR); - m_pPixArray[SymStruct] = new QPixmap(XPM_STRUCT); - m_pPixArray[SymMacro] = new QPixmap(XPM_MACRO); - m_pPixArray[SymMember] = new QPixmap(XPM_MEMBER); - m_pPixArray[SymEnum] = new QPixmap(XPM_ENUM); - m_pPixArray[SymEnumerator] = new QPixmap(XPM_ENUMERATOR); - m_pPixArray[SymTypedef] = new QPixmap(XPM_TYPEDEF); - m_pPixArray[SymLabel] = new QPixmap(XPM_LABEL); - m_pPixArray[SymInclude] = new QPixmap(XPM_INCLUDE); - m_pPixArray[SymUnknown] = new QPixmap(XPM_UNKNOWN); + m_pPixArray[SymFunc] = new TQPixmap(XPM_FUNC); + m_pPixArray[SymVar] = new TQPixmap(XPM_VAR); + m_pPixArray[SymStruct] = new TQPixmap(XPM_STRUCT); + m_pPixArray[SymMacro] = new TQPixmap(XPM_MACRO); + m_pPixArray[SymMember] = new TQPixmap(XPM_MEMBER); + m_pPixArray[SymEnum] = new TQPixmap(XPM_ENUM); + m_pPixArray[SymEnumerator] = new TQPixmap(XPM_ENUMERATOR); + m_pPixArray[SymTypedef] = new TQPixmap(XPM_TYPEDEF); + m_pPixArray[SymLabel] = new TQPixmap(XPM_LABEL); + m_pPixArray[SymInclude] = new TQPixmap(XPM_INCLUDE); + m_pPixArray[SymUnknown] = new TQPixmap(XPM_UNKNOWN); } /** @@ -281,7 +281,7 @@ void KScopePixmaps::init() * @param name The pixmap's identifier * @return A reference to the requested pixmap */ -const QPixmap& KScopePixmaps::getPixmap(PixName name) const +const TQPixmap& KScopePixmaps::getPixmap(PixName name) const { return *m_pPixArray[name]; } @@ -291,7 +291,7 @@ const QPixmap& KScopePixmaps::getPixmap(PixName name) const * @param name The pixmap's identifier * @return The requested pixmap */ -QPixmap KScopePixmaps::getPixmap(LoadPixName name) +TQPixmap KScopePixmaps::getPixmap(LoadPixName name) { switch (name) { case TabUnlocked: @@ -363,7 +363,7 @@ QPixmap KScopePixmaps::getPixmap(LoadPixName name) 0, false); } - return QPixmap(); + return TQPixmap(); } /** |