Rename kwin to twin (part 1 of 2)

pull/21/head
Timothy Pearson 13 years ago
parent 8fdee58df9
commit a66f0a09b6

@ -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: 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-z item 9: second part, ability to store custom flags on the server (704199) merges
- protrinity5 w1-20 (665722) - 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 - protrinity5 W1-19 / kolab/issue1749 Since mail folders are not groupware folders, do a full sync, when
the mail part is already active. (668988) the mail part is already active. (668988)
- protrinity5 It's now possible to resize the magenta rectangle that represents the event in the freebusy - protrinity5 It's now possible to resize the magenta rectangle that represents the event in the freebusy

@ -26,7 +26,7 @@
#include "trayicon.h" #include "trayicon.h"
#include <kapplication.h> #include <kapplication.h>
#include <kwin.h> #include <twin.h>
#include <kiconeffect.h> #include <kiconeffect.h>
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <klocale.h>

@ -33,7 +33,7 @@
#include "configuredialog.h" #include "configuredialog.h"
#include <kwin.h> #include <twin.h>
#include <kapplication.h> #include <kapplication.h>
#include <kconfig.h> #include <kconfig.h>
#include <klocale.h> #include <klocale.h>

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

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

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

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

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

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

@ -3,7 +3,7 @@
#include <vector> #include <vector>
#include <kwinmodule.h> #include <twinmodule.h>
#include "desktoplist.h" #include "desktoplist.h"

@ -34,7 +34,7 @@
#include <tqwhatsthis.h> #include <tqwhatsthis.h>
#include <klocale.h> // i18n #include <klocale.h> // i18n
#include <kwinmodule.h> #include <twinmodule.h>
#include "edittaskdialog.h" #include "edittaskdialog.h"
#include "ktimewidget.h" #include "ktimewidget.h"
@ -47,7 +47,7 @@ EditTaskDialog::EditTaskDialog( TQString caption, bool editDlg,
{ {
TQWidget *page = new TQWidget( this ); TQWidget *page = new TQWidget( this );
setMainWidget(page); setMainWidget(page);
KWinModule kwinmodule(0, KWinModule::INFO_DESKTOP); KWinModule twinmodule(0, KWinModule::INFO_DESKTOP);
TQVBoxLayout *lay1 = new TQVBoxLayout(page); TQVBoxLayout *lay1 = new TQVBoxLayout(page);
@ -146,7 +146,7 @@ EditTaskDialog::EditTaskDialog( TQString caption, bool editDlg,
_diffTW = new KArmTimeWidget( page, "_sessionAddTW" ); _diffTW = new KArmTimeWidget( page, "_sessionAddTW" );
lay4->addWidget( _diffTW ); lay4->addWidget( _diffTW );
desktopCount = kwinmodule.numberOfDesktops(); desktopCount = twinmodule.numberOfDesktops();
// If desktopList contains higher numbered desktops than desktopCount then // If desktopList contains higher numbered desktops than desktopCount then
// delete those from desktopList. This may be the case if the user has // 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); lay1->addLayout(lay6);
for (int i=0; i<desktopCount; i++) { for (int i=0; i<desktopCount; i++) {
_deskBox.push_back(new TQCheckBox(groupBox,TQString::number(i).latin1())); _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); _deskBox[i]->setChecked(false);
lay6->addWidget(_deskBox[i]); lay6->addWidget(_deskBox[i]);

@ -34,7 +34,7 @@
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> // i18n #include <klocale.h> // i18n
#include <kwinmodule.h> #include <twinmodule.h>
#include "printdialog.h" #include "printdialog.h"
#include <libtdepim/kdateedit.h> #include <libtdepim/kdateedit.h>

@ -606,12 +606,12 @@ void KDGanttView::slotHeaderSizeChanged()
Specifies whether the legend should be shown as a dock window or not. Specifies whether the legend should be shown as a dock window or not.
\param show if true, show legend as a dock window \param show if true, show legend as a dock window
\sa showLegend(), legendIsDockwindow(), legendDockwindow() \sa showLegend(), legendIsDoctwindow(), legendDoctwindow()
*/void KDGanttView::setLegendIsDockwindow( bool show ) */void KDGanttView::setLegendIsDoctwindow( bool show )
{ {
bool isdock = myLegend->asDockwindow(); bool isdock = myLegend->asDoctwindow();
if ( show != isdock ) { if ( show != isdock ) {
myLegend->setAsDockwindow(show); myLegend->setAsDoctwindow(show);
// legend is cleared - reinit legend with list // legend is cleared - reinit legend with list
legendItem* li; legendItem* li;
for ( li = myLegendItems->first(); li; li = myLegendItems->next() ) { 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 Returns whether the legend is shown as a dock window
\return true if the legend is shown as a dock window \return true if the legend is shown as a dock window
\sa setShowLegend(), setLegendIsDockwindow(), legendDockwindow() \sa setShowLegend(), setLegendIsDoctwindow(), legendDoctwindow()
*/bool KDGanttView::legendIsDockwindow() const */bool KDGanttView::legendIsDoctwindow() const
{ {
return myLegend->asDockwindow(); return myLegend->asDoctwindow();
} }
@ -637,16 +637,16 @@ void KDGanttView::slotHeaderSizeChanged()
DO NOT DELETE THIS POINTER! DO NOT DELETE THIS POINTER!
If the legend is not a dock window, 0 is returned If the legend is not a dock window, 0 is returned
To set the legend as a dock window, call To set the legend as a dock window, call
KDGanttView::setLegendIsDockwindow( true ); KDGanttView::setLegendIsDoctwindow( true );
\return the pointer to the legend dock window \return the pointer to the legend dock window
0 is returned, if the legend is no dock window 0 is returned, if the legend is no dock window
DO NOT DELETE THIS POINTER! 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" ) { } else if( tagName == "LegendIsDockWindow" ) {
bool value; bool value;
if( KDGanttXML::readBoolNode( element, value ) ) if( KDGanttXML::readBoolNode( element, value ) )
setLegendIsDockwindow( value ); setLegendIsDoctwindow( value );
} else if( tagName == "ShowListView" ) { } else if( tagName == "ShowListView" ) {
bool value; bool value;
if( KDGanttXML::readBoolNode( element, value ) ) if( KDGanttXML::readBoolNode( element, value ) )
@ -3285,7 +3285,7 @@ TQDomDocument KDGanttView::saveXML( bool withPI ) const
// the LegendIsDockWindow element // the LegendIsDockWindow element
KDGanttXML::createBoolNode( doc, docRoot, "LegendIsDockWindow", KDGanttXML::createBoolNode( doc, docRoot, "LegendIsDockWindow",
legendIsDockwindow() ); legendIsDoctwindow() );
// the ShowListView element // the ShowListView element
KDGanttXML::createBoolNode( doc, docRoot, "ShowListView", showListView() ); KDGanttXML::createBoolNode( doc, docRoot, "ShowListView", showListView() );

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

@ -2553,11 +2553,11 @@ KDLegendWidget:: KDLegendWidget( TQWidget* parent,
clearLegend(); clearLegend();
showMe ( false ); 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; return;
if ( dockwin ) if ( doctwin )
{ {
setMaximizedWidget( 0 ); setMaximizedWidget( 0 );
showMe ( false ); showMe ( false );
@ -2594,7 +2594,7 @@ void KDLegendWidget::setAsDockwindow( bool dockwin )
} }
bool KDLegendWidget::asDockwindow( ) bool KDLegendWidget::asDoctwindow( )
{ {
if ( dock ) if ( dock )
return true; return true;
@ -2602,7 +2602,7 @@ bool KDLegendWidget::asDockwindow( )
} }
TQDockWindow* KDLegendWidget::dockwindow( ) TQDockWindow* KDLegendWidget::doctwindow( )
{ {
return dock; return dock;
} }

@ -53,7 +53,7 @@
#include <tqlabel.h> #include <tqlabel.h>
#include <tqbrush.h> #include <tqbrush.h>
#include <tqvbox.h> #include <tqvbox.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqtimer.h> #include <tqtimer.h>
#include "KDGanttView.h" #include "KDGanttView.h"
@ -341,9 +341,9 @@ public:
void clearLegend(); void clearLegend();
void setFont( TQFont ); void setFont( TQFont );
void drawToPainter( TQPainter *p ); void drawToPainter( TQPainter *p );
void setAsDockwindow( bool dockwin ); void setAsDoctwindow( bool doctwin );
bool asDockwindow(); bool asDoctwindow();
TQDockWindow* dockwindow(); TQDockWindow* doctwindow();
TQSize legendSize(); TQSize legendSize();
TQSize legendSizeHint(); TQSize legendSizeHint();
private: private:

@ -168,7 +168,7 @@ set( ${target}_SRCS
warningconfiguration.ui smimeconfiguration.ui annotationjobs.cpp accountcombobox.cpp warningconfiguration.ui smimeconfiguration.ui annotationjobs.cpp accountcombobox.cpp
redirectdialog.cpp foldershortcutdialog.cpp folderrequester.cpp spamheaderanalyzer.cpp redirectdialog.cpp foldershortcutdialog.cpp folderrequester.cpp spamheaderanalyzer.cpp
antispamconfig.cpp replyphrases.kcfgc custommimeheader.kcfgc recipientseditor.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 expirypropertiesdialog.cpp scalix.cpp mailinglistpropertiesdialog.cpp newfolderdialog.cpp
accountwizard.cpp managesievescriptsdialog.cpp chiasmuskeyselector.cpp accountwizard.cpp managesievescriptsdialog.cpp chiasmuskeyselector.cpp
util.cpp templatesinsertcommand.cpp customtemplates_base.ui customtemplates.cpp util.cpp templatesinsertcommand.cpp customtemplates_base.ui customtemplates.cpp

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

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

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

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

@ -46,7 +46,7 @@ using KRecentAddress::RecentAddresses;
#include "transportmanager.h" #include "transportmanager.h"
#include "importarchivedialog.h" #include "importarchivedialog.h"
#include <kwin.h> #include <twin.h>
#include "kmailicalifaceimpl.h" #include "kmailicalifaceimpl.h"
#include "mailserviceimpl.h" #include "mailserviceimpl.h"
using KMail::MailServiceImpl; using KMail::MailServiceImpl;

@ -6,7 +6,7 @@
#include <config.h> #include <config.h>
#endif #endif
#include <kwin.h> #include <twin.h>
#ifdef MALLOC_DEBUG #ifdef MALLOC_DEBUG
#include <malloc.h> #include <malloc.h>

@ -39,7 +39,7 @@ class KMMainWin : public KMainWindow
public: public:
// the main window needs to have a name since else restoring the window // 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); KMMainWin(TQWidget *parent = 0);
virtual ~KMMainWin(); virtual ~KMMainWin();
KMMainWidget *mainKMWidget() const { return mKMMainWidget; }; KMMainWidget *mainKMWidget() const { return mKMMainWidget; };

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

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

@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include "kwindowpositioner.h" #include "twindowpositioner.h"
#include <kdebug.h> #include <kdebug.h>
@ -57,4 +57,4 @@ void KWindowPositioner::reposition()
mSlave->raise(); mSlave->raise();
} }
#include "kwindowpositioner.moc" #include "twindowpositioner.moc"

@ -36,7 +36,7 @@
#include "mailsourceviewer.h" #include "mailsourceviewer.h"
#include <kapplication.h> #include <kapplication.h>
#include <kwin.h> #include <twin.h>
#include <tqregexp.h> #include <tqregexp.h>
#include <tqaccel.h> #include <tqaccel.h>

@ -9,7 +9,7 @@
#include <klocale.h> #include <klocale.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kwin.h> #include <twin.h>
#include <kapplication.h> #include <kapplication.h>
#include <kinputdialog.h> #include <kinputdialog.h>
#include <kglobalsettings.h> #include <kglobalsettings.h>

@ -25,7 +25,7 @@
#include "recipientseditor.h" #include "recipientseditor.h"
#include "recipientspicker.h" #include "recipientspicker.h"
#include "kwindowpositioner.h" #include "twindowpositioner.h"
#include "distributionlistdialog.h" #include "distributionlistdialog.h"
#include "globalsettings.h" #include "globalsettings.h"

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

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

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

@ -14,7 +14,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/ */
#include <kwin.h> #include <twin.h>
#include <kdebug.h> #include <kdebug.h>
#include <kcmdlineargs.h> #include <kcmdlineargs.h>
#include <kconfig.h> #include <kconfig.h>

@ -18,7 +18,7 @@
#include <klocale.h> #include <klocale.h>
#include <kmessagebox.h> #include <kmessagebox.h>
#include <kwin.h> #include <twin.h>
#include <kapplication.h> #include <kapplication.h>
#include "knarticlefactory.h" #include "knarticlefactory.h"

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

@ -13,7 +13,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/ */
#include <kwin.h> #include <twin.h>
#include <kstdaction.h> #include <kstdaction.h>
#include <kconfig.h> #include <kconfig.h>

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

@ -14,7 +14,7 @@
#include <tqstring.h> #include <tqstring.h>
#include <kwin.h> #include <twin.h>
#include <kscoringeditor.h> #include <kscoringeditor.h>
#include "knscoring.h" #include "knscoring.h"

@ -117,7 +117,7 @@ ChangeLog for KNotes
2004/09/27 Michael Brade <brade@kde.org> 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> 2004/08/31 Michael Brade <brade@kde.org>
@ -517,7 +517,7 @@ ChangeLog for KNotes
2002/09/30 Michael Brade <brade@kde.org> 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, - raise() and lower() windows already on mouse button press,
not on mouse button release not on mouse button release
- MMB moves notes as well - MMB moves notes as well

@ -70,7 +70,7 @@
#include "pushpin.xpm" #include "pushpin.xpm"
#include <kwin.h> #include <twin.h>
#include <netwm.h> #include <netwm.h>
#include <fixx11h.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 ), : 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_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_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 ) m_busy( 0 ), m_deleteWhenIdle( false ), m_blockEmitDataChanged( false )
{ {
setAcceptDrops( true ); 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 // can be done here since this doesn't pick up changes while KNotes is running anyway
bool closeLeft = false; bool closeLeft = false;
m_kwinConf->setGroup( "Style" ); m_twinConf->setGroup( "Style" );
if ( m_kwinConf->readBoolEntry( "CustomButtonPositions" ) ) if ( m_twinConf->readBoolEntry( "CustomButtonPositions" ) )
closeLeft = m_kwinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; closeLeft = m_twinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1;
TQPixmap pushpin_pix; TQPixmap pushpin_pix;
if ( closeLeft ) if ( closeLeft )
@ -1165,9 +1165,9 @@ void KNote::updateLayout()
const int margin = m_editor->margin(); const int margin = m_editor->margin();
bool closeLeft = false; bool closeLeft = false;
m_kwinConf->setGroup( "Style" ); m_twinConf->setGroup( "Style" );
if ( m_kwinConf->readBoolEntry( "CustomButtonPositions" ) ) if ( m_twinConf->readBoolEntry( "CustomButtonPositions" ) )
closeLeft = m_kwinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1; closeLeft = m_twinConf->readEntry( "ButtonsOnLeft" ).find( 'X' ) > -1;
if ( s_ppOffset ) if ( s_ppOffset )
{ {

@ -176,7 +176,7 @@ private:
KToggleAction *m_keepAbove; KToggleAction *m_keepAbove;
KToggleAction *m_keepBelow; KToggleAction *m_keepBelow;
KSharedConfig::Ptr m_kwinConf; KSharedConfig::Ptr m_twinConf;
static int s_ppOffset; static int s_ppOffset;

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

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

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

@ -26,7 +26,7 @@
#include <dcopref.h> #include <dcopref.h>
#include <kapplication.h> #include <kapplication.h>
#include <kstartupinfo.h> #include <kstartupinfo.h>
#include <kwin.h> #include <twin.h>
void KOrganizerUniqueAppHandler::loadCommandLineOptions() void KOrganizerUniqueAppHandler::loadCommandLineOptions()
{ {

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

@ -842,7 +842,7 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin )
createGUI( plugin->part() ); createGUI( plugin->part() );
KToolBar* navigatorToolBar = findToolBar( "navigatorToolBar" ); 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() && if ( navigatorToolBar && !navigatorToolBar->isHidden() &&
navigatorToolBar->barPos() == KToolBar::Top ) { navigatorToolBar->barPos() == KToolBar::Top ) {
topDock()->moveDockWindow( navigatorToolBar, -1 ); topDock()->moveDockWindow( navigatorToolBar, -1 );

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

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

@ -25,7 +25,7 @@
#include <kcmultidialog.h> #include <kcmultidialog.h>
#include <ksettings/dialog.h> #include <ksettings/dialog.h>
#include <kwin.h> #include <twin.h>
#include <libtdepim/categoryeditdialog.h> #include <libtdepim/categoryeditdialog.h>

@ -34,7 +34,7 @@ install( FILES korgac.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
tde_add_executable( korgac AUTOMOC tde_add_executable( korgac AUTOMOC
SOURCES SOURCES
korgacmain.cpp alarmdialog.cpp alarmdockwindow.cpp koalarmclient.cpp korgacmain.cpp alarmdialog.cpp alarmdoctwindow.cpp koalarmclient.cpp
alarmclientiface.skel alarmclientiface.skel
LINK korganizer_eventviewer-shared LINK korganizer_eventviewer-shared
DESTINATION ${BIN_INSTALL_DIR} DESTINATION ${BIN_INSTALL_DIR}

@ -6,7 +6,7 @@ korgac_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $
korgac_LDADD = $(LIB_TDEUI) \ korgac_LDADD = $(LIB_TDEUI) \
$(top_builddir)/korganizer/libkorganizer_eventviewer.la $(top_builddir)/korganizer/libkorganizer_eventviewer.la
korgac_SOURCES = korgacmain.cpp alarmdialog.cpp \ korgac_SOURCES = korgacmain.cpp alarmdialog.cpp \
alarmdockwindow.cpp koalarmclient.cpp \ alarmdoctwindow.cpp koalarmclient.cpp \
alarmclientiface.skel alarmclientiface.skel
check_PROGRAMS = testalarmdlg check_PROGRAMS = testalarmdlg
@ -17,7 +17,7 @@ testalarmdlg_LDADD = $(LIB_TDEUI) $(top_builddir)/libkcal/libkcal.la \
testalarmdlg_SOURCES = testalarmdlg.cpp alarmdialog.cpp testalarmdlg_SOURCES = testalarmdlg.cpp alarmdialog.cpp
noinst_HEADERS = alarmclientiface.h alarmdialog.h \ noinst_HEADERS = alarmclientiface.h alarmdialog.h \
alarmdockwindow.h koalarmclient.h alarmdoctwindow.h koalarmclient.h
METASOURCES = AUTO METASOURCES = AUTO

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

@ -22,7 +22,7 @@
without including the source code for TQt in the source distribution. without including the source code for TQt in the source distribution.
*/ */
#include "alarmdockwindow.h" #include "alarmdoctwindow.h"
#include "koalarmclient.h" #include "koalarmclient.h"
#include <kapplication.h> #include <kapplication.h>
@ -203,4 +203,4 @@ void AlarmDockWindow::slotQuit()
emit quitSignal(); emit quitSignal();
} }
#include "alarmdockwindow.moc" #include "alarmdoctwindow.moc"

@ -26,7 +26,7 @@
#include "koalarmclient.h" #include "koalarmclient.h"
#include "alarmdockwindow.h" #include "alarmdoctwindow.h"
#include "alarmdialog.h" #include "alarmdialog.h"
#include <libkcal/calendarresources.h> #include <libkcal/calendarresources.h>
@ -35,7 +35,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <klocale.h>
#include <kapplication.h> #include <kapplication.h>
#include <kwin.h> #include <twin.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>

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

@ -1,5 +1,5 @@
Aim: 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? 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?

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

Loading…
Cancel
Save