diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:29:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-07 20:29:44 -0600 |
commit | a66f0a09b66888c0d080fc47651210b644b39114 (patch) | |
tree | 817d01cecfb618d62f65929a984455ec1bbf94f0 /knotes/knote.cpp | |
parent | 8fdee58df91aa54d53e3e0147f20df18dce3a06e (diff) | |
download | tdepim-a66f0a09b66888c0d080fc47651210b644b39114.tar.gz tdepim-a66f0a09b66888c0d080fc47651210b644b39114.zip |
Rename kwin to twin (part 1 of 2)
Diffstat (limited to 'knotes/knote.cpp')
-rw-r--r-- | knotes/knote.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/knotes/knote.cpp b/knotes/knote.cpp index 8a260576c..b2a804be5 100644 --- a/knotes/knote.cpp +++ b/knotes/knote.cpp @@ -70,7 +70,7 @@ #include "pushpin.xpm" -#include <kwin.h> +#include <twin.h> #include <netwm.h> #include <fixx11h.h> @@ -83,7 +83,7 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char * : TQFrame( parent, name, WStyle_Customize | WStyle_NoBorder | WDestructiveClose ), m_label( 0 ), m_pushpin( 0 ), m_fold( 0 ), m_button( 0 ), m_tool( 0 ), m_editor( 0 ), m_config( 0 ), m_journal( j ), m_find( 0 ), - m_kwinConf( KSharedConfig::openConfig( "kwinrc", true ) ), + m_twinConf( KSharedConfig::openConfig( "twinrc", true ) ), m_busy( 0 ), m_deleteWhenIdle( false ), m_blockEmitDataChanged( false ) { setAcceptDrops( true ); @@ -262,9 +262,9 @@ KNote::KNote( TQDomDocument buildDoc, Journal *j, TQWidget *parent, const char * // can be done here since this doesn't pick up changes while KNotes is running anyway bool closeLeft = false; - m_kwinConf->setGroup( "Style" ); - if ( m_kwinConf->readBoolEntry( "CustomButtonPositions" ) ) - closeLeft = m_kwinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; + m_twinConf->setGroup( "Style" ); + if ( m_twinConf->readBoolEntry( "CustomButtonPositions" ) ) + closeLeft = m_twinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; TQPixmap pushpin_pix; if ( closeLeft ) @@ -1165,9 +1165,9 @@ void KNote::updateLayout() const int margin = m_editor->margin(); bool closeLeft = false; - m_kwinConf->setGroup( "Style" ); - if ( m_kwinConf->readBoolEntry( "CustomButtonPositions" ) ) - closeLeft = m_kwinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; + m_twinConf->setGroup( "Style" ); + if ( m_twinConf->readBoolEntry( "CustomButtonPositions" ) ) + closeLeft = m_twinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; if ( s_ppOffset ) { |