diff options
Diffstat (limited to 'kshutdown/mtip.cpp')
-rw-r--r-- | kshutdown/mtip.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kshutdown/mtip.cpp b/kshutdown/mtip.cpp index e571b42..0ccfcab 100644 --- a/kshutdown/mtip.cpp +++ b/kshutdown/mtip.cpp @@ -20,13 +20,13 @@ #include "miscutils.h" #include "mtip.h" -#include <qtooltip.h> +#include <ntqtooltip.h> #include <kiconloader.h> // public -MTip::MTip(const TipType tipType, QWidget *parent) +MTip::MTip(const TipType tipType, TQWidget *parent) : KActiveLabel(parent, "MTip") { setFrameStyle(StyledPanel | Sunken); @@ -38,10 +38,10 @@ MTip::~MTip() { } -void MTip::setTipText(const QString &value) +void MTip::setTipText(const TQString &value) { // valign and "center" ? - QString leftCell; + TQString leftCell; if (_iconPath.isEmpty()) { leftCell = ""; } @@ -69,7 +69,7 @@ void MTip::setTipType(const TipType value) break; case Normal: _iconPath = getIconPath("messagebox_info"); - setPaletteBackgroundColor(QToolTip::palette().active().background()); + setPaletteBackgroundColor(TQToolTip::palette().active().background()); setPaletteForegroundColor(black); break; case Warning: @@ -84,7 +84,7 @@ void MTip::setTipType(const TipType value) // private -QString MTip::getIconPath(const QString &name) const +TQString MTip::getIconPath(const TQString &name) const { return KGlobal::iconLoader()->iconPath(name, KIcon::NoGroup, KIcon::SizeLarge); } |