summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-06 19:48:06 +0000
commit0761ef3c62e43ffed5a81854b7b45e579016f5b7 (patch)
tree5aa48590c295ad6d29aafe4782d7f762f2ee38d3 /kdecore/kapplication.cpp
parentcb4a5d685bd5a3129e1edb8bac1ee6c41939fe7b (diff)
downloadtdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.tar.gz
tdelibs-0761ef3c62e43ffed5a81854b7b45e579016f5b7.zip
Locked down more ambiguous datatypes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1160010 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.cpp')
-rw-r--r--kdecore/kapplication.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp
index ed302875a..bdee53c29 100644
--- a/kdecore/kapplication.cpp
+++ b/kdecore/kapplication.cpp
@@ -457,7 +457,7 @@ bool KApplication::notify(TQObject *receiver, TQEvent *event)
if ((t == TQEvent::AccelOverride) || (t == TQEvent::KeyPress))
{
static const KShortcut& _selectAll = KStdAccel::selectAll();
- TQLineEdit *edit = ::qt_cast<TQLineEdit *>(receiver);
+ TQLineEdit *edit = tqqt_cast<TQLineEdit *>(receiver);
if (edit)
{
// We have a keypress for a lineedit...
@@ -495,7 +495,7 @@ bool KApplication::notify(TQObject *receiver, TQEvent *event)
}
}
- TQTextEdit *medit = ::qt_cast<TQTextEdit *>(receiver);
+ TQTextEdit *medit = tqqt_cast<TQTextEdit *>(receiver);
if (medit)
{
// We have a keypress for a multilineedit...
@@ -2009,13 +2009,13 @@ TQPalette KApplication::createApplicationPalette( KConfig *config, int contrast_
TQColor kde34VisitedLink( 82, 24, 139 );
TQColor background = config->readColorEntry( "background", &kde34Background );
- TQColor foreground = config->readColorEntry( "foreground", &black );
+ TQColor foreground = config->readColorEntry( "foreground", tqblackptr );
TQColor button = config->readColorEntry( "buttonBackground", &kde34Button );
- TQColor buttonText = config->readColorEntry( "buttonForeground", &black );
+ TQColor buttonText = config->readColorEntry( "buttonForeground", tqblackptr );
TQColor highlight = config->readColorEntry( "selectBackground", &kde34Blue );
- TQColor highlightedText = config->readColorEntry( "selectForeground", &white );
- TQColor base = config->readColorEntry( "windowBackground", &white );
- TQColor baseText = config->readColorEntry( "windowForeground", &black );
+ TQColor highlightedText = config->readColorEntry( "selectForeground", tqwhiteptr );
+ TQColor base = config->readColorEntry( "windowBackground", tqwhiteptr );
+ TQColor baseText = config->readColorEntry( "windowForeground", tqblackptr );
TQColor link = config->readColorEntry( "linkColor", &kde34Link );
TQColor visitedLink = config->readColorEntry( "visitedLinkColor", &kde34VisitedLink );
@@ -2447,14 +2447,14 @@ void KApplication::invokeMailer(const TQString &_to, const TQString &_cc, const
// put the whole address lists into RFC2047 encoded blobs; technically
// this isn't correct, but KMail understands it nonetheless
to = TQString( "=?utf8?b?%1?=" )
- .arg( KCodecs::base64Encode( _to.utf8(), false ) );
+ .arg( QString(KCodecs::base64Encode( _to.utf8(), false )) );
}
if ( !_cc.isEmpty() )
cc = TQString( "=?utf8?b?%1?=" )
- .arg( KCodecs::base64Encode( _cc.utf8(), false ) );
+ .arg( QString(KCodecs::base64Encode( _cc.utf8(), false )) );
if ( !_bcc.isEmpty() )
bcc = TQString( "=?utf8?b?%1?=" )
- .arg( KCodecs::base64Encode( _bcc.utf8(), false ) );
+ .arg( QString(KCodecs::base64Encode( _bcc.utf8(), false )) );
} else {
to = _to;
cc = _cc;
@@ -2608,7 +2608,7 @@ void KApplication::broadcastKeyCode(unsigned int keyCode)
emit coreFakeKeyPress(keyCode);
}
-QCString
+TQCString
KApplication::launcher()
{
return "klauncher";