Rename kwin to twin (part 1 of 2)

pull/1/head
Timothy Pearson 14 years ago
parent 5f9c25a4e4
commit 2b1df858bf

@ -23,7 +23,7 @@
#include <tqobject.h> #include <tqobject.h>
#include <tqapplication.h> #include <tqapplication.h>
#include <tqclipboard.h> #include <tqclipboard.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqpoint.h> #include <tqpoint.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqwidget.h> #include <tqwidget.h>

@ -15,7 +15,7 @@ Name[it]=Strumento di reticolo prospettico
Name[ja]=遠近法グリッドツール Name[ja]=遠近法グリッドツール
Name[km]=ឧបករណ៍​ក្រឡា​ចត្រង្គ​យថាទស្សន៍ Name[km]=ឧបករណ៍​ក្រឡា​ចត្រង្គ​យថាទស្សន៍
Name[nb]=Perspektivnett-verktøy Name[nb]=Perspektivnett-verktøy
Name[nds]=Kiekwinkelgadder-Warktüüch Name[nds]=Kietwinkelgadder-Warktüüch
Name[ne]=दृश्यात्मक ग्रीड उपकरण Name[ne]=दृश्यात्मक ग्रीड उपकरण
Name[nl]=Perspectiefraster-gereedschap Name[nl]=Perspectiefraster-gereedschap
Name[pl]=Narzędzie siatki perspektywy Name[pl]=Narzędzie siatki perspektywy

@ -17,7 +17,7 @@ Name[it]=Strumento di trasformazione della prospettiva
Name[ja]=視点変更ツール Name[ja]=視点変更ツール
Name[km]=ឧបករណ៍​ប្លែង​យថាទស្សន៍ Name[km]=ឧបករណ៍​ប្លែង​យថាទស្សន៍
Name[nb]=Verktøy for perspektivtransformasjon Name[nb]=Verktøy for perspektivtransformasjon
Name[nds]=Warktüüch för't Kiekwinkeltopassen Name[nds]=Warktüüch för't Kietwinkeltopassen
Name[ne]=दृश्यात्मक रूपान्तरण उपकरण Name[ne]=दृश्यात्मक रूपान्तरण उपकरण
Name[nl]=Perspectiefrooster-gereedschap Name[nl]=Perspectiefrooster-gereedschap
Name[pl]=Narzędzie zmiany perspektywy Name[pl]=Narzędzie zmiany perspektywy

@ -613,12 +613,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() ) {
@ -632,10 +632,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();
} }
@ -644,16 +644,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();
} }
@ -2526,7 +2526,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 ) )
@ -3282,7 +3282,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() );

@ -101,7 +101,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 )
@ -131,9 +131,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 );

@ -2565,11 +2565,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 );
@ -2606,7 +2606,7 @@ void KDLegendWidget::setAsDockwindow( bool dockwin )
} }
bool KDLegendWidget::asDockwindow( ) bool KDLegendWidget::asDoctwindow( )
{ {
if ( dock ) if ( dock )
return true; return true;
@ -2614,7 +2614,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"
@ -335,9 +335,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:

@ -19,7 +19,7 @@
#include <tqworkspace.h> #include <tqworkspace.h>
#include <tqdockarea.h> #include <tqdockarea.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqhbox.h> #include <tqhbox.h>
#include <tqpainter.h> #include <tqpainter.h>
#include <tqevent.h> #include <tqevent.h>

@ -19,7 +19,7 @@
#include <tqworkspace.h> #include <tqworkspace.h>
#include <tqdockarea.h> #include <tqdockarea.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqhbox.h> #include <tqhbox.h>
#include <tqpainter.h> #include <tqpainter.h>
#include <tqevent.h> #include <tqevent.h>

@ -33,7 +33,7 @@
#include <tqmutex.h> #include <tqmutex.h>
#include <tqwaitcondition.h> #include <tqwaitcondition.h>
#include <tqfiledialog.h> #include <tqfiledialog.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqdockarea.h> #include <tqdockarea.h>
#include <kapplication.h> #include <kapplication.h>

@ -19,7 +19,7 @@
#ifndef KIVIO_STACK_BAR_H #ifndef KIVIO_STACK_BAR_H
#define KIVIO_STACK_BAR_H #define KIVIO_STACK_BAR_H
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqptrdict.h> #include <tqptrdict.h>
namespace Kivio { namespace Kivio {

@ -24,7 +24,7 @@
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <klocale.h>
#include <kuniqueapplication.h> #include <kuniqueapplication.h>
#include <kwin.h> #include <twin.h>
#include <KoGlobal.h> #include <KoGlobal.h>

@ -20,7 +20,7 @@
#include "kspread_toolbox.h" #include "kspread_toolbox.h"
#include "KoDocumentChild.h" #include "KoDocumentChild.h"
#include <kwin.h> #include <twin.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqspinbox.h> #include <tqspinbox.h>

@ -31,7 +31,7 @@
#include <tqprinter.h> #include <tqprinter.h>
#include <tqpaintdevicemetrics.h> #include <tqpaintdevicemetrics.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqdom.h> #include <tqdom.h>
#include <tqtextstream.h> #include <tqtextstream.h>
#include <tqtextcodec.h> #include <tqtextcodec.h>

@ -29,7 +29,7 @@
#include <tqmainwindow.h> #include <tqmainwindow.h>
#include <tqaction.h> #include <tqaction.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqmenubar.h> #include <tqmenubar.h>
#include <tqmessagebox.h> #include <tqmessagebox.h>
#include <tqspinbox.h> #include <tqspinbox.h>

@ -136,8 +136,8 @@ FILES:
kwoasissaver.h/cc - OASIS saving of a document fragment (paragraphs) kwoasissaver.h/cc - OASIS saving of a document fragment (paragraphs)
advanced editing: advanced editing:
kwinserthorizontallinedia.h/cc - insert hor. line dialog twinserthorizontallinedia.h/cc - insert hor. line dialog
kwinsertpagedia.h/cc - insert page dialog twinsertpagedia.h/cc - insert page dialog
tables: tables:
kwtableframeset.h/cc - all the table handling kwtableframeset.h/cc - all the table handling
kwtabletemplate.h/cc - holds table templates kwtabletemplate.h/cc - holds table templates
@ -170,7 +170,7 @@ FILES:
- (inline image without frame) - (inline image without frame)
- (not available from the UI, - (not available from the UI,
- only from old files) - only from old files)
kwinsertpicdia.h/cc - insert picture dialog twinsertpicdia.h/cc - insert picture dialog
core features: core features:
variables: variables:

@ -17,8 +17,8 @@
* Boston, MA 02110-1301, USA. * Boston, MA 02110-1301, USA.
*/ */
#ifndef kwinsertpicdia_h #ifndef twinsertpicdia_h
#define kwinsertpicdia_h #define twinsertpicdia_h
#include <kdialogbase.h> #include <kdialogbase.h>
class TQCheckBox; class TQCheckBox;

@ -63,8 +63,8 @@ METASOURCES = AUTO
libkwmailmerge_interface_la_SOURCES = KWMailMergeDataSource.cpp KWMailMergeDataSource.skel libkwmailmerge_interface_la_SOURCES = KWMailMergeDataSource.cpp KWMailMergeDataSource.skel
libkwmailmerge_interface_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore libkwmailmerge_interface_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefined -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore
libkwmailmerge_interface_la_LIBADD = $(LIB_QT) -lDCOP libkwmailmerge_interface_la_LIBADD = $(LIB_QT) -lDCOP
kwincludedir = $(includedir)/kword twincludedir = $(includedir)/kword
kwinclude_HEADERS = KWMailMergeDataSource.h twinclude_HEADERS = KWMailMergeDataSource.h
kwmailmerge_servicetype_DATA=kwmailmerge.desktop kwmailmerge_servicetype_DATA=kwmailmerge.desktop
kwmailmerge_servicetypedir=$(kde_servicetypesdir) kwmailmerge_servicetypedir=$(kde_servicetypesdir)

@ -19,7 +19,7 @@
// TQt includes // TQt includes
#include <tqsplitter.h> #include <tqsplitter.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqdockarea.h> #include <tqdockarea.h>
#include <tqevent.h> #include <tqevent.h>
#include <tqcursor.h> #include <tqcursor.h>
@ -136,7 +136,7 @@ class KKbdAccessExtensionsPrivate
// Action that starts access keys. // Action that starts access keys.
KAction* accessKeysAction; KAction* accessKeysAction;
// The splitter or dockwindow currently being sized. If 0, sizing is not in progress. // The splitter or doctwindow currently being sized. If 0, sizing is not in progress.
TQWidget* panel; TQWidget* panel;
// Index of current handle of the panel. When panel is a TQDockWindow: // Index of current handle of the panel. When panel is a TQDockWindow:

@ -22,7 +22,7 @@
#include <tqwidget.h> #include <tqwidget.h>
#include <tqbitmap.h> #include <tqbitmap.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <kaction.h> #include <kaction.h>
#include <koffice_export.h> #include <koffice_export.h>

@ -25,7 +25,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqpixmap.h> #include <tqpixmap.h>
#include <tqtoolbar.h> #include <tqtoolbar.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <kdebug.h> #include <kdebug.h>
#include <kparts/event.h> #include <kparts/event.h>

@ -16,7 +16,7 @@
*/ */
#include <tqwidget.h> #include <tqwidget.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqvariant.h> #include <tqvariant.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqtoolbutton.h> #include <tqtoolbutton.h>

@ -18,7 +18,7 @@
#ifndef _KO_PALETTE_ #ifndef _KO_PALETTE_
#define _KO_PALETTE_ #define _KO_PALETTE_
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqwidget.h> #include <tqwidget.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqtoolbutton.h> #include <tqtoolbutton.h>

@ -17,7 +17,7 @@
#include <tqapplication.h> #include <tqapplication.h>
#include <tqdockarea.h> #include <tqdockarea.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqdict.h> #include <tqdict.h>
#include <tqwidget.h> #include <tqwidget.h>
#include <tqobject.h> #include <tqobject.h>

@ -19,7 +19,7 @@
#define _KO_PALETTE_MANAGER_ #define _KO_PALETTE_MANAGER_
#include <tqobject.h> #include <tqobject.h>
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqstring.h> #include <tqstring.h>
#include <tqmap.h> #include <tqmap.h>
#include <tqdict.h> #include <tqdict.h>
@ -61,7 +61,7 @@ namespace {
} }
/** /**
* Manages the set of dockwindow palettes and their widgets. * Manages the set of doctwindow palettes and their widgets.
* *
* You create one palette manager per view; then you can add widgets * You create one palette manager per view; then you can add widgets
* to your hearts content. Widgets are grouped into dock windows by * to your hearts content. Widgets are grouped into dock windows by

@ -16,7 +16,7 @@
*/ */
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <ktabwidget.h> #include <ktabwidget.h>
#include <kdebug.h> #include <kdebug.h>

@ -18,7 +18,7 @@
#ifndef _KO_TAB_PALETTE_ #ifndef _KO_TAB_PALETTE_
#define _KO_TAB_PALETTE_ #define _KO_TAB_PALETTE_
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <ktabwidget.h> #include <ktabwidget.h>
#include "kopalette.h" #include "kopalette.h"

@ -17,7 +17,7 @@
*/ */
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqtoolbox.h> #include <tqtoolbox.h>
#include <kopalette.h> #include <kopalette.h>

@ -18,7 +18,7 @@
#ifndef _KO_TOOLBOX_PALETTE_ #ifndef _KO_TOOLBOX_PALETTE_
#define _KO_TOOLBOX_PALETTE_ #define _KO_TOOLBOX_PALETTE_
#include <tqdockwindow.h> #include <tqdoctwindow.h>
#include <tqtoolbox.h> #include <tqtoolbox.h>
#include <kopalettemanager.h> #include <kopalettemanager.h>

@ -5895,7 +5895,7 @@ k2wie
k3wijz k3wijz
k4wik k4wik
2kwil 2kwil
2kwin 2twin
k3wind k3wind
4k1wo 4k1wo
ky3 ky3

Loading…
Cancel
Save