diff options
Diffstat (limited to 'kkbswitch/boldmenuitem.cpp')
-rw-r--r-- | kkbswitch/boldmenuitem.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kkbswitch/boldmenuitem.cpp b/kkbswitch/boldmenuitem.cpp index 69dee04..e98d3bb 100644 --- a/kkbswitch/boldmenuitem.cpp +++ b/kkbswitch/boldmenuitem.cpp @@ -21,10 +21,10 @@ #include <ntqpalette.h> #include <ntqstyle.h> #include <kdebug.h> -#include <kglobalsettings.h> -#include <kdeversion.h> -#if KDE_VERSION_MAJOR >= 3 - #include <kapplication.h> +#include <tdeglobalsettings.h> +#include <tdeversion.h> +#if TDE_VERSION_MAJOR >= 3 + #include <tdeapplication.h> #else #include <kapp.h> #endif @@ -47,14 +47,14 @@ void BoldMenuItem::paint(TQPainter* painter, const TQColorGroup& /*cg*/, font.setBold(m_bold); painter->setFont(font); } - //if (act) painter->setPen(KGlobalSettings::highlightedTextColor()); + //if (act) painter->setPen(TDEGlobalSettings::highlightedTextColor()); //if (act) painter->setPen(cg.highlightedText()); if (act) painter->setPen(m_active_text_color); kdDebug() << "bg color = " << painter->brush().color().rgb() << endl; painter->drawText(x, y, w, h, AlignLeft | AlignVCenter | ShowPrefix | DontClip, m_text); - //KApplication::style().drawItem(painter, TQRect(x, y, w, h), AlignLeft | AlignVCenter | ShowPrefix | DontClip, + //TDEApplication::style().drawItem(painter, TQRect(x, y, w, h), AlignLeft | AlignVCenter | ShowPrefix | DontClip, // cg, enabled, 0, m_text); } |