Browse Source

Rename kwin to twin (part 1 of 2)

tags/r14.0.0
Timothy Pearson 8 years ago
parent
commit
a66f0a09b6
59 changed files with 100 additions and 100 deletions
  1. +1
    -1
      NewsLog.txt
  2. +1
    -1
      akregator/src/trayicon.cpp
  3. +1
    -1
      certmanager/conf/configuredialog.cpp
  4. +1
    -1
      certmanager/lib/ui/keyselectiondialog.cpp
  5. +1
    -1
      kaddressbook/main.cpp
  6. +2
    -2
      kalarm/editdlg.cpp
  7. +1
    -1
      kalarm/find.cpp
  8. +2
    -2
      kalarm/messagewin.cpp
  9. +1
    -1
      kalarm/prefdlg.cpp
  10. +1
    -1
      karm/desktoptracker.h
  11. +4
    -4
      karm/edittaskdialog.cpp
  12. +1
    -1
      karm/printdialog.cpp
  13. +13
    -13
      kdgantt/KDGanttView.cpp
  14. +4
    -4
      kdgantt/KDGanttView.h
  15. +5
    -5
      kdgantt/KDGanttViewSubwidgets.cpp
  16. +4
    -4
      kdgantt/KDGanttViewSubwidgets.h
  17. +1
    -1
      kmail/CMakeLists.txt
  18. +1
    -1
      kmail/Makefile.am
  19. +1
    -1
      kmail/configuredialog.cpp
  20. +3
    -3
      kmail/kmcomposewin.cpp
  21. +1
    -1
      kmail/kmfilterdlg.cpp
  22. +1
    -1
      kmail/kmkernel.cpp
  23. +1
    -1
      kmail/kmmainwidget.cpp
  24. +1
    -1
      kmail/kmmainwin.h
  25. +1
    -1
      kmail/kmreadermainwin.cpp
  26. +1
    -1
      kmail/kmsystemtray.cpp
  27. +2
    -2
      kmail/kwindowpositioner.cpp
  28. +1
    -1
      kmail/mailsourceviewer.cpp
  29. +1
    -1
      kmail/managesievescriptsdialog.cpp
  30. +1
    -1
      kmail/recipientseditor.cpp
  31. +1
    -1
      kmail/recipientspicker.cpp
  32. +1
    -1
      kmail/searchwindow.cpp
  33. +1
    -1
      kmail/vacationdialog.cpp
  34. +1
    -1
      knode/knapplication.cpp
  35. +1
    -1
      knode/knarticlefactory.cpp
  36. +1
    -1
      knode/knarticlemanager.cpp
  37. +1
    -1
      knode/knarticlewindow.cpp
  38. +1
    -1
      knode/knconfigmanager.cpp
  39. +1
    -1
      knode/knscoring.cpp
  40. +2
    -2
      knotes/ChangeLog
  41. +8
    -8
      knotes/knote.cpp
  42. +1
    -1
      knotes/knote.h
  43. +1
    -1
      knotes/knoteconfigdlg.cpp
  44. +1
    -1
      knotes/knotesapp.cpp
  45. +1
    -1
      kontact/interfaces/uniqueapphandler.cpp
  46. +1
    -1
      kontact/plugins/korganizer/korg_uniqueapp.cpp
  47. +1
    -1
      kontact/src/main.cpp
  48. +1
    -1
      kontact/src/mainwindow.cpp
  49. +1
    -1
      korganizer/actionmanager.cpp
  50. +1
    -1
      korganizer/koapp.cpp
  51. +1
    -1
      korganizer/kodialogmanager.cpp
  52. +1
    -1
      korganizer/korgac/CMakeLists.txt
  53. +2
    -2
      korganizer/korgac/Makefile.am
  54. +1
    -1
      korganizer/korgac/alarmdialog.cpp
  55. +2
    -2
      korganizer/korgac/alarmdockwindow.cpp
  56. +2
    -2
      korganizer/korgac/koalarmclient.cpp
  57. +1
    -1
      korganizer/korganizer.cpp
  58. +1
    -1
      kresources/tvanytime/DESIGN
  59. +1
    -1
      libkpgp/kpgpui.cpp

+ 1
- 1
NewsLog.txt View File

@@ -1914,7 +1914,7 @@ Features
- protrinity5-z item 9: first part of this item, concerning sync of SEEN flags in read only folders (issue1376) (703473)
protrinity5-z item 9: second part, ability to store custom flags on the server (704199) merges
- protrinity5 w1-20 (665722)
- protrinity5 w1-11: Let the navigator toolbar be always the last one, if it's in the top dockwindow ( 666073)
- protrinity5 w1-11: Let the navigator toolbar be always the last one, if it's in the top doctwindow ( 666073)
- protrinity5 W1-19 / kolab/issue1749 Since mail folders are not groupware folders, do a full sync, when
the mail part is already active. (668988)
- protrinity5 It's now possible to resize the magenta rectangle that represents the event in the freebusy


+ 1
- 1
akregator/src/trayicon.cpp View File

@@ -26,7 +26,7 @@
#include "trayicon.h"

#include <kapplication.h>
#include <kwin.h>
#include <twin.h>
#include <kiconeffect.h>
#include <kdebug.h>
#include <klocale.h>


+ 1
- 1
certmanager/conf/configuredialog.cpp View File

@@ -33,7 +33,7 @@

#include "configuredialog.h"

#include <kwin.h>
#include <twin.h>
#include <kapplication.h>
#include <kconfig.h>
#include <klocale.h>


+ 1
- 1
certmanager/lib/ui/keyselectiondialog.cpp View File

@@ -57,7 +57,7 @@
#include <kglobal.h>
#include <kiconloader.h>
#include <kdebug.h>
#include <kwin.h>
#include <twin.h>
#include <kconfig.h>
#include <kmessagebox.h>
#include <kprocess.h>


+ 1
- 1
kaddressbook/main.cpp View File

@@ -34,7 +34,7 @@
#include <klocale.h>
#include <kstartupinfo.h>
#include <kuniqueapplication.h>
#include <kwin.h>
#include <twin.h>

#include "kaddressbookmain.h"
#include "kaddressbook_options.h"


+ 2
- 2
kalarm/editdlg.cpp View File

@@ -47,8 +47,8 @@
#include <kmessagebox.h>
#include <kurldrag.h>
#include <kurlcompletion.h>
#include <kwin.h>
#include <kwinmodule.h>
#include <twin.h>
#include <twinmodule.h>
#include <kstandarddirs.h>
#include <kstdguiitem.h>
#include <kabc/addresseedialog.h>


+ 1
- 1
kalarm/find.cpp View File

@@ -28,7 +28,7 @@
#include <kfinddialog.h>
#include <kfind.h>
#include <kseparator.h>
#include <kwin.h>
#include <twin.h>
#include <klocale.h>
#include <kmessagebox.h>
#include <kdebug.h>


+ 2
- 2
kalarm/messagewin.cpp View File

@@ -46,8 +46,8 @@
#include <kglobalsettings.h>
#include <kmimetype.h>
#include <kmessagebox.h>
#include <kwin.h>
#include <kwinmodule.h>
#include <twin.h>
#include <twinmodule.h>
#include <kprocess.h>
#include <kio/netaccess.h>
#include <knotifyclient.h>


+ 1
- 1
kalarm/prefdlg.cpp View File

@@ -44,7 +44,7 @@
#include <kcolorcombo.h>
#include <kstdguiitem.h>
#ifdef TQ_WS_X11
#include <kwin.h>
#include <twin.h>
#endif
#include <kdebug.h>



+ 1
- 1
karm/desktoptracker.h View File

@@ -3,7 +3,7 @@

#include <vector>

#include <kwinmodule.h>
#include <twinmodule.h>

#include "desktoplist.h"



+ 4
- 4
karm/edittaskdialog.cpp View File

@@ -34,7 +34,7 @@
#include <tqwhatsthis.h>

#include <klocale.h> // i18n
#include <kwinmodule.h>
#include <twinmodule.h>

#include "edittaskdialog.h"
#include "ktimewidget.h"
@@ -47,7 +47,7 @@ EditTaskDialog::EditTaskDialog( TQString caption, bool editDlg,
{
TQWidget *page = new TQWidget( this );
setMainWidget(page);
KWinModule kwinmodule(0, KWinModule::INFO_DESKTOP);
KWinModule twinmodule(0, KWinModule::INFO_DESKTOP);

TQVBoxLayout *lay1 = new TQVBoxLayout(page);
@@ -146,7 +146,7 @@ EditTaskDialog::EditTaskDialog( TQString caption, bool editDlg,
_diffTW = new KArmTimeWidget( page, "_sessionAddTW" );
lay4->addWidget( _diffTW );

desktopCount = kwinmodule.numberOfDesktops();
desktopCount = twinmodule.numberOfDesktops();
// If desktopList contains higher numbered desktops than desktopCount then
// delete those from desktopList. This may be the case if the user has
@@ -183,7 +183,7 @@ EditTaskDialog::EditTaskDialog( TQString caption, bool editDlg,
lay1->addLayout(lay6);
for (int i=0; i<desktopCount; i++) {
_deskBox.push_back(new TQCheckBox(groupBox,TQString::number(i).latin1()));
_deskBox[i]->setText(kwinmodule.desktopName(i+1));
_deskBox[i]->setText(twinmodule.desktopName(i+1));
_deskBox[i]->setChecked(false);

lay6->addWidget(_deskBox[i]);


+ 1
- 1
karm/printdialog.cpp View File

@@ -34,7 +34,7 @@

#include <kiconloader.h>
#include <klocale.h> // i18n
#include <kwinmodule.h>
#include <twinmodule.h>

#include "printdialog.h"
#include <libtdepim/kdateedit.h>


+ 13
- 13
kdgantt/KDGanttView.cpp View File

@@ -606,12 +606,12 @@ void KDGanttView::slotHeaderSizeChanged()
Specifies whether the legend should be shown as a dock window or not.

\param show if true, show legend as a dock window
\sa showLegend(), legendIsDockwindow(), legendDockwindow()
*/void KDGanttView::setLegendIsDockwindow( bool show )
\sa showLegend(), legendIsDoctwindow(), legendDoctwindow()
*/void KDGanttView::setLegendIsDoctwindow( bool show )
{
bool isdock = myLegend->asDockwindow();
bool isdock = myLegend->asDoctwindow();
if ( show != isdock ) {
myLegend->setAsDockwindow(show);
myLegend->setAsDoctwindow(show);
// legend is cleared - reinit legend with list
legendItem* li;
for ( li = myLegendItems->first(); li; li = myLegendItems->next() ) {
@@ -625,10 +625,10 @@ void KDGanttView::slotHeaderSizeChanged()
Returns whether the legend is shown as a dock window

\return true if the legend is shown as a dock window
\sa setShowLegend(), setLegendIsDockwindow(), legendDockwindow()
*/bool KDGanttView::legendIsDockwindow() const
\sa setShowLegend(), setLegendIsDoctwindow(), legendDoctwindow()
*/bool KDGanttView::legendIsDoctwindow() const
{
return myLegend->asDockwindow();
return myLegend->asDoctwindow();
}


@@ -637,16 +637,16 @@ void KDGanttView::slotHeaderSizeChanged()
DO NOT DELETE THIS POINTER!
If the legend is not a dock window, 0 is returned
To set the legend as a dock window, call
KDGanttView::setLegendIsDockwindow( true );
KDGanttView::setLegendIsDoctwindow( true );

\return the pointer to the legend dock window
0 is returned, if the legend is no dock window
DO NOT DELETE THIS POINTER!
\sa setShowLegend(), setLegendIsDockwindow(),legendIsDockwindow()
\sa setShowLegend(), setLegendIsDoctwindow(),legendIsDoctwindow()
*/
TQDockWindow* KDGanttView::legendDockwindow() const
TQDockWindow* KDGanttView::legendDoctwindow() const
{
return myLegend->dockwindow();
return myLegend->doctwindow();
}


@@ -2529,7 +2529,7 @@ bool KDGanttView::loadXML( const TQDomDocument& doc )
} else if( tagName == "LegendIsDockWindow" ) {
bool value;
if( KDGanttXML::readBoolNode( element, value ) )
setLegendIsDockwindow( value );
setLegendIsDoctwindow( value );
} else if( tagName == "ShowListView" ) {
bool value;
if( KDGanttXML::readBoolNode( element, value ) )
@@ -3285,7 +3285,7 @@ TQDomDocument KDGanttView::saveXML( bool withPI ) const

// the LegendIsDockWindow element
KDGanttXML::createBoolNode( doc, docRoot, "LegendIsDockWindow",
legendIsDockwindow() );
legendIsDoctwindow() );

// the ShowListView element
KDGanttXML::createBoolNode( doc, docRoot, "ShowListView", showListView() );


+ 4
- 4
kdgantt/KDGanttView.h View File

@@ -102,7 +102,7 @@ class KDGanttView : public KDGanttMinimizeSplitter
TQ_PROPERTY( bool showTimeTablePopupMenu READ showTimeTablePopupMenu WRITE setShowTimeTablePopupMenu )
TQ_PROPERTY( bool headerVisible READ headerVisible WRITE setHeaderVisible )
TQ_PROPERTY( bool showLegendButton READ showLegendButton WRITE setShowLegendButton )
TQ_PROPERTY( bool legendIsDockwindow READ legendIsDockwindow WRITE setLegendIsDockwindow )
TQ_PROPERTY( bool legendIsDoctwindow READ legendIsDoctwindow WRITE setLegendIsDoctwindow )
TQ_PROPERTY( bool displayEmptyTasksAsLine READ displayEmptyTasksAsLine WRITE setDisplayEmptyTasksAsLine )
TQ_PROPERTY( TQBrush noInformationBrush READ noInformationBrush WRITE setNoInformationBrush )
TQ_PROPERTY( bool dragEnabled READ dragEnabled WRITE setDragEnabled )
@@ -132,9 +132,9 @@ public:
int ganttMaximumWidth() const;
void setShowLegend( bool show );
bool showLegend() const;
void setLegendIsDockwindow( bool dock );
bool legendIsDockwindow( ) const;
TQDockWindow* legendDockwindow( ) const;
void setLegendIsDoctwindow( bool dock );
bool legendIsDoctwindow( ) const;
TQDockWindow* legendDoctwindow( ) const;
void setShowListView( bool show );
bool showListView() const;
void setEditorEnabled( bool enable );


+ 5
- 5
kdgantt/KDGanttViewSubwidgets.cpp View File

@@ -2553,11 +2553,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent,
clearLegend();
showMe ( false );
}
void KDLegendWidget::setAsDockwindow( bool dockwin )
void KDLegendWidget::setAsDoctwindow( bool doctwin )
{
if ( (dock == 0 && !dockwin) || ( dock && dockwin ) )
if ( (dock == 0 && !doctwin) || ( dock && doctwin ) )
return;
if ( dockwin )
if ( doctwin )
{
setMaximizedWidget( 0 );
showMe ( false );
@@ -2594,7 +2594,7 @@ void KDLegendWidget::setAsDockwindow( bool dockwin )
}


bool KDLegendWidget::asDockwindow( )
bool KDLegendWidget::asDoctwindow( )
{
if ( dock )
return true;
@@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDockwindow( )
}


TQDockWindow* KDLegendWidget::dockwindow( )
TQDockWindow* KDLegendWidget::doctwindow( )
{
return dock;
}


+ 4
- 4
kdgantt/KDGanttViewSubwidgets.h View File

@@ -53,7 +53,7 @@
#include <tqlabel.h>
#include <tqbrush.h>
#include <tqvbox.h>
#include <tqdockwindow.h>
#include <tqdoctwindow.h>
#include <tqtimer.h>

#include "KDGanttView.h"
@@ -341,9 +341,9 @@ public:
void clearLegend();
void setFont( TQFont );
void drawToPainter( TQPainter *p );
void setAsDockwindow( bool dockwin );
bool asDockwindow();
TQDockWindow* dockwindow();
void setAsDoctwindow( bool doctwin );
bool asDoctwindow();
TQDockWindow* doctwindow();
TQSize legendSize();
TQSize legendSizeHint();
private:


+ 1
- 1
kmail/CMakeLists.txt View File

@@ -168,7 +168,7 @@ set( ${target}_SRCS
warningconfiguration.ui smimeconfiguration.ui annotationjobs.cpp accountcombobox.cpp
redirectdialog.cpp foldershortcutdialog.cpp folderrequester.cpp spamheaderanalyzer.cpp
antispamconfig.cpp replyphrases.kcfgc custommimeheader.kcfgc recipientseditor.cpp
recipientspicker.cpp kwindowpositioner.cpp textsource.cpp distributionlistdialog.cpp
recipientspicker.cpp twindowpositioner.cpp textsource.cpp distributionlistdialog.cpp
expirypropertiesdialog.cpp scalix.cpp mailinglistpropertiesdialog.cpp newfolderdialog.cpp
accountwizard.cpp managesievescriptsdialog.cpp chiasmuskeyselector.cpp
util.cpp templatesinsertcommand.cpp customtemplates_base.ui customtemplates.cpp


+ 1
- 1
kmail/Makefile.am View File

@@ -124,7 +124,7 @@ libkmailprivate_la_SOURCES = kmmessage.cpp kmmainwin.cpp configuredialog.cpp \
spamheaderanalyzer.cpp antispamconfig.cpp \
replyphrases.kcfgc custommimeheader.kcfgc \
recipientseditor.cpp \
recipientspicker.cpp kwindowpositioner.cpp \
recipientspicker.cpp twindowpositioner.cpp \
distributionlistdialog.cpp expirypropertiesdialog.cpp \
mailinglistpropertiesdialog.cpp newfolderdialog.cpp \
accountwizard.cpp textsource.cpp \


+ 1
- 1
kmail/configuredialog.cpp View File

@@ -94,7 +94,7 @@ using KMime::DateFormatter;
#include <kseparator.h>
#include <kiconloader.h>
#include <kstandarddirs.h>
#include <kwin.h>
#include <twin.h>
#include <knotifydialog.h>
#include <kconfig.h>
#include <kactivelabel.h>


+ 3
- 3
kmail/kmcomposewin.cpp View File

@@ -86,7 +86,7 @@ using KRecentAddress::RecentAddresses;
#include <kkeydialog.h>
#include <kdebug.h>
#include <kfiledialog.h>
#include <kwin.h>
#include <twin.h>
#include <kinputdialog.h>
#include <kmessagebox.h>
#include <kurldrag.h>
@@ -4979,7 +4979,7 @@ void KMComposeWin::slotSpellcheckConfig()
KDialogBase dlg(KDialogBase::Plain, i18n("Spellchecker"),
KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok,
TQT_TQWIDGET(this), 0, true, true );
KWin kwin;
KWin twin;
TQTabDialog qtd (this, "tabdialog", true);
KSpellConfig mKSpellConfig (&qtd);
mKSpellConfig.tqlayout()->setMargin( KDialog::marginHint() );
@@ -4987,7 +4987,7 @@ void KMComposeWin::slotSpellcheckConfig()
qtd.addTab (&mKSpellConfig, i18n("Spellchecker"));
qtd.setCancelButton ();

kwin.setIcons (qtd.winId(), kapp->icon(), kapp->miniIcon());
twin.setIcons (qtd.winId(), kapp->icon(), kapp->miniIcon());
qtd.setCancelButton(KStdGuiItem::cancel().text());
qtd.setOkButton(KStdGuiItem::ok().text());



+ 1
- 1
kmail/kmfilterdlg.cpp View File

@@ -25,7 +25,7 @@ using KMail::FilterImporterExporter;
#include <kinputdialog.h>
#include <kiconloader.h>
#include <kapplication.h>
#include <kwin.h>
#include <twin.h>
#include <kconfig.h>
#include <kicondialog.h>
#include <kkeybutton.h>


+ 1
- 1
kmail/kmkernel.cpp View File

@@ -46,7 +46,7 @@ using KRecentAddress::RecentAddresses;
#include "transportmanager.h"
#include "importarchivedialog.h"

#include <kwin.h>
#include <twin.h>
#include "kmailicalifaceimpl.h"
#include "mailserviceimpl.h"
using KMail::MailServiceImpl;


+ 1
- 1
kmail/kmmainwidget.cpp View File

@@ -6,7 +6,7 @@
#include <config.h>
#endif

#include <kwin.h>
#include <twin.h>

#ifdef MALLOC_DEBUG
#include <malloc.h>


+ 1
- 1
kmail/kmmainwin.h View File

@@ -39,7 +39,7 @@ class KMMainWin : public KMainWindow

public:
// the main window needs to have a name since else restoring the window
// settings by kwin doesn't work
// settings by twin doesn't work
KMMainWin(TQWidget *parent = 0);
virtual ~KMMainWin();
KMMainWidget *mainKMWidget() const { return mKMMainWidget; };


+ 1
- 1
kmail/kmreadermainwin.cpp View File

@@ -31,7 +31,7 @@
#include <kedittoolbar.h>
#include <klocale.h>
#include <kstdaccel.h>
#include <kwin.h>
#include <twin.h>
#include <kaction.h>
#include <kiconloader.h>
#include <kdebug.h>


+ 1
- 1
kmail/kmsystemtray.cpp View File

@@ -33,7 +33,7 @@ using KMail::AccountManager;
#include <kglobalsettings.h>
#include <kiconloader.h>
#include <kiconeffect.h>
#include <kwin.h>
#include <twin.h>
#include <kdebug.h>
#include <kpopupmenu.h>



+ 2
- 2
kmail/kwindowpositioner.cpp View File

@@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA.
*/

#include "kwindowpositioner.h"
#include "twindowpositioner.h"

#include <kdebug.h>

@@ -57,4 +57,4 @@ void KWindowPositioner::reposition()
mSlave->raise();
}

#include "kwindowpositioner.moc"
#include "twindowpositioner.moc"

+ 1
- 1
kmail/mailsourceviewer.cpp View File

@@ -36,7 +36,7 @@
#include "mailsourceviewer.h"

#include <kapplication.h>
#include <kwin.h>
#include <twin.h>

#include <tqregexp.h>
#include <tqaccel.h>


+ 1
- 1
kmail/managesievescriptsdialog.cpp View File

@@ -9,7 +9,7 @@

#include <klocale.h>
#include <kiconloader.h>
#include <kwin.h>
#include <twin.h>
#include <kapplication.h>
#include <kinputdialog.h>
#include <kglobalsettings.h>


+ 1
- 1
kmail/recipientseditor.cpp View File

@@ -25,7 +25,7 @@
#include "recipientseditor.h"

#include "recipientspicker.h"
#include "kwindowpositioner.h"
#include "twindowpositioner.h"
#include "distributionlistdialog.h"
#include "globalsettings.h"



+ 1
- 1
kmail/recipientspicker.cpp View File

@@ -37,7 +37,7 @@
#include <kabc/resource.h>
#include <kiconloader.h>
#include <kdialog.h>
#include <kwin.h>
#include <twin.h>
#include <kmessagebox.h>

#include <tqlayout.h>


+ 1
- 1
kmail/searchwindow.cpp View File

@@ -38,7 +38,7 @@
#include <kapplication.h>
#include <kdebug.h>
#include <kstatusbar.h>
#include <kwin.h>
#include <twin.h>
#include <kconfig.h>
#include <kstdaction.h>
#include <kiconloader.h>


+ 1
- 1
kmail/vacationdialog.cpp View File

@@ -27,7 +27,7 @@ using KMime::HeaderParsing::parseAddressList;
#include <knuminput.h>
#include <klocale.h>
#include <kdebug.h>
#include <kwin.h>
#include <twin.h>
#include <kapplication.h>

#include <tqlayout.h>


+ 1
- 1
knode/knapplication.cpp View File

@@ -14,7 +14,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/

#include <kwin.h>
#include <twin.h>
#include <kdebug.h>
#include <kcmdlineargs.h>
#include <kconfig.h>


+ 1
- 1
knode/knarticlefactory.cpp View File

@@ -18,7 +18,7 @@

#include <klocale.h>
#include <kmessagebox.h>
#include <kwin.h>
#include <twin.h>
#include <kapplication.h>

#include "knarticlefactory.h"


+ 1
- 1
knode/knarticlemanager.cpp View File

@@ -17,7 +17,7 @@
#include <kopenwith.h>
#include <klocale.h>
#include <kdebug.h>
#include <kwin.h>
#include <twin.h>
#include <ktempfile.h>

#include "articlewidget.h"


+ 1
- 1
knode/knarticlewindow.cpp View File

@@ -13,7 +13,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/

#include <kwin.h>
#include <twin.h>

#include <kstdaction.h>
#include <kconfig.h>


+ 1
- 1
knode/knconfigmanager.cpp View File

@@ -19,7 +19,7 @@
#include <kcmultidialog.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kwin.h>
#include <twin.h>

#include <tqhbox.h>



+ 1
- 1
knode/knscoring.cpp View File

@@ -14,7 +14,7 @@

#include <tqstring.h>

#include <kwin.h>
#include <twin.h>
#include <kscoringeditor.h>

#include "knscoring.h"


+ 2
- 2
knotes/ChangeLog View File

@@ -117,7 +117,7 @@ ChangeLog for KNotes

2004/09/27 Michael Brade <brade@kde.org>

* no compile-time dependency on kdebase allowed, so read kwinrc directly
* no compile-time dependency on kdebase allowed, so read twinrc directly

2004/08/31 Michael Brade <brade@kde.org>

@@ -517,7 +517,7 @@ ChangeLog for KNotes

2002/09/30 Michael Brade <brade@kde.org>

* fixed mouse behaviour to be like kwin:
* fixed mouse behaviour to be like twin:
- raise() and lower() windows already on mouse button press,
not on mouse button release
- MMB moves notes as well


+ 8
- 8
knotes/knote.cpp View File

@@ -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 )
{


+ 1
- 1
knotes/knote.h View File

@@ -176,7 +176,7 @@ private:
KToggleAction *m_keepAbove;
KToggleAction *m_keepBelow;

KSharedConfig::Ptr m_kwinConf;
KSharedConfig::Ptr m_twinConf;

static int s_ppOffset;



+ 1
- 1
knotes/knoteconfigdlg.cpp View File

@@ -33,7 +33,7 @@
#include <knuminput.h>
#include <klineedit.h>
#include <kfontrequester.h>
#include <kwin.h>
#include <twin.h>

#include "knote.h"
#include "knoteconfigdlg.h"


+ 1
- 1
knotes/knotesapp.cpp View File

@@ -37,7 +37,7 @@
#include <kkeydialog.h>
#include <kglobalaccel.h>
#include <ksimpleconfig.h>
#include <kwin.h>
#include <twin.h>
#include <kbufferedsocket.h>
#include <kserversocket.h>



+ 1
- 1
kontact/interfaces/uniqueapphandler.cpp View File

@@ -24,7 +24,7 @@
#include <kapplication.h>
#include <kcmdlineargs.h>
#include "core.h"
#include <kwin.h>
#include <twin.h>
#include <dcopclient.h>
#include <kdebug.h>
#include <klocale.h>


+ 1
- 1
kontact/plugins/korganizer/korg_uniqueapp.cpp View File

@@ -26,7 +26,7 @@
#include <dcopref.h>
#include <kapplication.h>
#include <kstartupinfo.h>
#include <kwin.h>
#include <twin.h>

void KOrganizerUniqueAppHandler::loadCommandLineOptions()
{


+ 1
- 1
kontact/src/main.cpp View File

@@ -29,7 +29,7 @@
#include <klocale.h>
#include <kstartupinfo.h>
#include <kuniqueapplication.h>
#include <kwin.h>
#include <twin.h>
#include <kstandarddirs.h>
#include <ktrader.h>
#include "plugin.h"


+ 1
- 1
kontact/src/mainwindow.cpp View File

@@ -842,7 +842,7 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin )
createGUI( plugin->part() );

KToolBar* navigatorToolBar = findToolBar( "navigatorToolBar" );
// Let the navigator toolbar be always the last one, if it's in the top dockwindow
// Let the navigator toolbar be always the last one, if it's in the top doctwindow
if ( navigatorToolBar && !navigatorToolBar->isHidden() &&
navigatorToolBar->barPos() == KToolBar::Top ) {
topDock()->moveDockWindow( navigatorToolBar, -1 );


+ 1
- 1
korganizer/actionmanager.cpp View File

@@ -65,7 +65,7 @@
#include <ktip.h>
#include <ktempfile.h>
#include <kxmlguiclient.h>
#include <kwin.h>
#include <twin.h>
#include <knotifyclient.h>
#include <kstdguiitem.h>
#include <kdeversion.h>


+ 1
- 1
korganizer/koapp.cpp View File

@@ -32,7 +32,7 @@
#include <kconfig.h>
#include <kdebug.h>
#include <klocale.h>
#include <kwin.h>
#include <twin.h>
#include <kurl.h>

#include <libkcal/calformat.h>


+ 1
- 1
korganizer/kodialogmanager.cpp View File

@@ -25,7 +25,7 @@

#include <kcmultidialog.h>
#include <ksettings/dialog.h>
#include <kwin.h>
#include <twin.h>

#include <libtdepim/categoryeditdialog.h>



+ 1
- 1
korganizer/korgac/CMakeLists.txt View File

@@ -34,7 +34,7 @@ install( FILES korgac.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )

tde_add_executable( korgac AUTOMOC
SOURCES
korgacmain.cpp alarmdialog.cpp alarmdockwindow.cpp koalarmclient.cpp
korgacmain.cpp alarmdialog.cpp alarmdoctwindow.cpp koalarmclient.cpp
alarmclientiface.skel
LINK korganizer_eventviewer-shared
DESTINATION ${BIN_INSTALL_DIR}


+ 2
- 2
korganizer/korgac/Makefile.am View File

@@ -6,7 +6,7 @@ korgac_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $
korgac_LDADD = $(LIB_TDEUI) \
$(top_builddir)/korganizer/libkorganizer_eventviewer.la
korgac_SOURCES = korgacmain.cpp alarmdialog.cpp \
alarmdockwindow.cpp koalarmclient.cpp \
alarmdoctwindow.cpp koalarmclient.cpp \
alarmclientiface.skel

check_PROGRAMS = testalarmdlg
@@ -17,7 +17,7 @@ testalarmdlg_LDADD = $(LIB_TDEUI) $(top_builddir)/libkcal/libkcal.la \
testalarmdlg_SOURCES = testalarmdlg.cpp alarmdialog.cpp

noinst_HEADERS = alarmclientiface.h alarmdialog.h \
alarmdockwindow.h koalarmclient.h
alarmdoctwindow.h koalarmclient.h

METASOURCES = AUTO



+ 1
- 1
korganizer/korgac/alarmdialog.cpp View File

@@ -48,7 +48,7 @@
#include <knotifyclient.h>
#include <kcombobox.h>
#include <klistview.h>
#include <kwin.h>
#include <twin.h>
#include <klockfile.h>

#include <libkcal/event.h>


+ 2
- 2
korganizer/korgac/alarmdockwindow.cpp View File

@@ -22,7 +22,7 @@
without including the source code for TQt in the source distribution.
*/

#include "alarmdockwindow.h"
#include "alarmdoctwindow.h"
#include "koalarmclient.h"

#include <kapplication.h>
@@ -203,4 +203,4 @@ void AlarmDockWindow::slotQuit()
emit quitSignal();
}

#include "alarmdockwindow.moc"
#include "alarmdoctwindow.moc"

+ 2
- 2
korganizer/korgac/koalarmclient.cpp View File

@@ -26,7 +26,7 @@

#include "koalarmclient.h"

#include "alarmdockwindow.h"
#include "alarmdoctwindow.h"
#include "alarmdialog.h"

#include <libkcal/calendarresources.h>
@@ -35,7 +35,7 @@
#include <kdebug.h>
#include <klocale.h>
#include <kapplication.h>
#include <kwin.h>
#include <twin.h>

#include <tqpushbutton.h>



+ 1
- 1
korganizer/korganizer.cpp View File

@@ -68,7 +68,7 @@
#include <kmessagebox.h>
#include <dcopclient.h>
#include <kprocess.h>
#include <kwin.h>
#include <twin.h>
#include <ktip.h>
#include <kstdguiitem.h>
#include <kstatusbar.h>


+ 1
- 1
kresources/tvanytime/DESIGN View File

@@ -1,5 +1,5 @@
Aim:
Use Kontact as an EPG showing BBC TV and radio programs. Calendar KResource for BBC TV and radio schedules made available by the backstage.bbc.co.uk open tech portal. KResource can be used in other programs - kwintv?
Use Kontact as an EPG showing BBC TV and radio programs. Calendar KResource for BBC TV and radio schedules made available by the backstage.bbc.co.uk open tech portal. KResource can be used in other programs - twintv?

DESIGN: Fetch TVAnywhere tarballs via http. Parse contents using KArchive classes and QDom API. Present channel listing from tarball in resource config so that user can control which channels are shown in resource. Use subresources to show channels. Use categories for genre descriptors?



+ 1
- 1
libkpgp/kpgpui.cpp View File

@@ -42,7 +42,7 @@
#include <kconfig.h>
#include <kprogress.h>
#include <kapplication.h>
#include <kwin.h>
#include <twin.h>
#if KDE_IS_VERSION( 3, 1, 90 )
#include <kglobalsettings.h>
#endif


Loading…
Cancel
Save