Rename kwin to twin (part 1 of 2)

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

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

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

@ -17,7 +17,7 @@ Name[it]=Strumento di trasformazione della prospettiva
Name[ja]=視点変更ツール
Name[km]=ឧបករណ៍​ប្លែង​យថាទស្សន៍
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[nl]=Perspectiefrooster-gereedschap
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.
\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() ) {
@ -632,10 +632,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();
}
@ -644,16 +644,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();
}
@ -2526,7 +2526,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 ) )
@ -3282,7 +3282,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() );

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

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

@ -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"
@ -335,9 +335,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:

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

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

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

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

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

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

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

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

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

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

@ -63,8 +63,8 @@ METASOURCES = AUTO
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_LIBADD = $(LIB_QT) -lDCOP
kwincludedir = $(includedir)/kword
kwinclude_HEADERS = KWMailMergeDataSource.h
twincludedir = $(includedir)/kword
twinclude_HEADERS = KWMailMergeDataSource.h
kwmailmerge_servicetype_DATA=kwmailmerge.desktop
kwmailmerge_servicetypedir=$(kde_servicetypesdir)

@ -19,7 +19,7 @@
// TQt includes
#include <tqsplitter.h>
#include <tqdockwindow.h>
#include <tqdoctwindow.h>
#include <tqdockarea.h>
#include <tqevent.h>
#include <tqcursor.h>
@ -136,7 +136,7 @@ class KKbdAccessExtensionsPrivate
// Action that starts access keys.
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;
// Index of current handle of the panel. When panel is a TQDockWindow:

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

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

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

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

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

@ -19,7 +19,7 @@
#define _KO_PALETTE_MANAGER_
#include <tqobject.h>
#include <tqdockwindow.h>
#include <tqdoctwindow.h>
#include <tqstring.h>
#include <tqmap.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
* 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 <kdebug.h>

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

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

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

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

Loading…
Cancel
Save