summaryrefslogtreecommitdiffstats
path: root/src/documentiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentiface.cpp')
-rw-r--r--src/documentiface.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/documentiface.cpp b/src/documentiface.cpp
index dd7e0eb..294ff32 100644
--- a/src/documentiface.cpp
+++ b/src/documentiface.cpp
@@ -98,12 +98,12 @@ bool DocumentIface::isModified( )
return m_pDocument->isModified();
}
-bool DocumentIface::openURL( const QString & url )
+bool DocumentIface::openURL( const TQString & url )
{
return m_pDocument->openURL(url);
}
-QString DocumentIface::url( )
+TQString DocumentIface::url( )
{
return m_pDocument->url().url();
}
@@ -118,7 +118,7 @@ DCOPRef DocumentIface::activeView( )
return viewToRef( m_pDocument->activeView() );
}
-QString DocumentIface::caption( ) const
+TQString DocumentIface::caption( ) const
{
return m_pDocument->caption();
}
@@ -138,7 +138,7 @@ FlowCodeDocumentIface::FlowCodeDocumentIface( FlowCodeDocument * document )
m_pFlowCodeDocument = document;
}
-void FlowCodeDocumentIface::setPicType( const QString & id )
+void FlowCodeDocumentIface::setPicType( const TQString & id )
{
m_pFlowCodeDocument->setPicType(id);
}
@@ -233,7 +233,7 @@ void ICNDocumentIface::exportToImage( )
m_pICNDocument->exportToImage();
}
-QCStringList ICNDocumentIface::nodeIDs( const QString & id )
+QCStringList ICNDocumentIface::nodeIDs( const TQString & id )
{
CNItem * item = m_pICNDocument->cnItemWithID(id);
@@ -249,30 +249,30 @@ QCStringList ICNDocumentIface::nodeIDs( const QString & id )
return ids;
}
-QString ICNDocumentIface::makeConnection( const QString & item1, const QString & node1, const QString & item2, const QString & node2 )
+TQString ICNDocumentIface::makeConnection( const TQString & item1, const TQString & node1, const TQString & item2, const TQString & node2 )
{
CNItem * i1 = m_pICNDocument->cnItemWithID(item1);
CNItem * i2 = m_pICNDocument->cnItemWithID(item2);
if ( !i1 || !i2 )
- return QString::null;
+ return TQString();
Node * n1 = m_pICNDocument->nodeWithID( i1->nodeId(node1) );
Node * n2 = m_pICNDocument->nodeWithID( i2->nodeId(node2) );
if ( !n1 || !n2 )
- return QString::null;
+ return TQString();
Connector * connector = m_pICNDocument->createConnector( n1, n2 );
- return connector ? connector->id() : QString::null;
+ return connector ? connector->id() : TQString();
}
-void ICNDocumentIface::selectConnector( const QString & id )
+void ICNDocumentIface::selectConnector( const TQString & id )
{
m_pICNDocument->select( m_pICNDocument->connectorWithID(id) );
}
-void ICNDocumentIface::unselectConnector( const QString & id )
+void ICNDocumentIface::unselectConnector( const TQString & id )
{
m_pItemDocument->unselect( m_pICNDocument->connectorWithID(id) );
}
@@ -295,25 +295,25 @@ QCStringList ItemDocumentIface::validItemIDs( )
const LibraryItemList::iterator end = allItems->end();
for ( LibraryItemList::iterator it = allItems->begin(); it != end; ++it )
{
- QString id = (*it)->activeID();
+ TQString id = (*it)->activeID();
if ( m_pItemDocument->isValidItem(id) )
validIDs << id.utf8();
}
return validIDs;
}
-QString ItemDocumentIface::addItem( const QString & id, int x, int y )
+TQString ItemDocumentIface::addItem( const TQString & id, int x, int y )
{
- Item * item = m_pItemDocument->addItem( id, QPoint( x, y ), true );
- return item ? item->id() : QString::null;
+ Item * item = m_pItemDocument->addItem( id, TQPoint( x, y ), true );
+ return item ? item->id() : TQString();
}
-void ItemDocumentIface::selectItem( const QString & id )
+void ItemDocumentIface::selectItem( const TQString & id )
{
m_pItemDocument->select( m_pItemDocument->itemWithID(id) );
}
-void ItemDocumentIface::unselectItem( const QString & id )
+void ItemDocumentIface::unselectItem( const TQString & id )
{
m_pItemDocument->unselect( m_pItemDocument->itemWithID(id) );
}