summaryrefslogtreecommitdiffstats
path: root/knode/kncomposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kncomposer.cpp')
-rw-r--r--knode/kncomposer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp
index c2523d13a..d03a653cf 100644
--- a/knode/kncomposer.cpp
+++ b/knode/kncomposer.cpp
@@ -1782,9 +1782,9 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n)
KConfig *config = knGlobals.config();
KConfigGroupSaver saver(config, "VISUAL_APPEARANCE");
TQColor defaultColor1( kapp->tqpalette().active().text()); // defaults from kmreaderwin.cpp
- TQColor defaultColor2( kapp->tqpalette().active().text() );
- TQColor defaultColor3( kapp->tqpalette().active().text() );
- TQColor defaultForeground( kapp->tqpalette().active().text() );
+ TQColor defaultColor2( kapp->palette().active().text() );
+ TQColor defaultColor3( kapp->palette().active().text() );
+ TQColor defaultForeground( kapp->palette().active().text() );
TQColor col1 = config->readColorEntry( "ForegroundColor", &defaultForeground );
TQColor col2 = config->readColorEntry( "quote3Color", &defaultColor3 );
TQColor col3 = config->readColorEntry( "quote2Color", &defaultColor2 );
@@ -2152,7 +2152,7 @@ TQStringList KNComposer::Editor::processedText()
void KNComposer::Editor::slotPasteAsQuotation()
{
- TQString s = TQApplication::tqclipboard()->text();
+ TQString s = TQApplication::clipboard()->text();
if (!s.isEmpty()) {
for (int i=0; (uint)i<s.length(); i++) {
if ( s[i] < ' ' && s[i] != '\n' && s[i] != '\t' )