summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/clipboard
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/clipboard')
-rw-r--r--umbrello/umbrello/clipboard/umlclipboard.cpp6
-rw-r--r--umbrello/umbrello/clipboard/umlclipboard.h6
-rw-r--r--umbrello/umbrello/clipboard/umldrag.cpp18
-rw-r--r--umbrello/umbrello/clipboard/umldrag.h2
4 files changed, 16 insertions, 16 deletions
diff --git a/umbrello/umbrello/clipboard/umlclipboard.cpp b/umbrello/umbrello/clipboard/umlclipboard.cpp
index 069ba84b..d654e083 100644
--- a/umbrello/umbrello/clipboard/umlclipboard.cpp
+++ b/umbrello/umbrello/clipboard/umlclipboard.cpp
@@ -267,7 +267,7 @@ void UMLClipboard::checkItemForCopyType(UMLListViewItem* Item, bool & WithDiagra
}
}
-/** Adds the children of a UMLListViewItem to m_ItemList */
+/** Adds the tqchildren of a UMLListViewItem to m_ItemList */
bool UMLClipboard::insertItemChildren(UMLListViewItem * Item, UMLListViewItemList& SelectedItems) {
if(Item->childCount()) {
UMLListViewItem * child = (UMLListViewItem*)Item->firstChild();
@@ -347,7 +347,7 @@ bool UMLClipboard::pasteClip1(TQMimeSource* data) {
return true;
lv->setStartedCopy(false);
/* If we get here we are pasting after a Copy and need to
- // paste possible children.
+ // paste possible tqchildren.
UMLListViewItem* itemdata = 0;
UMLListViewItemListIt it(itemdatalist);
while ( (itemdata=it.current()) != 0 ) {
@@ -630,7 +630,7 @@ bool UMLClipboard::pasteClip5(TQMimeSource* data) {
break;
}
default :
- kWarning() << "pasting unknown children type in clip type 5" << endl;
+ kWarning() << "pasting unknown tqchildren type in clip type 5" << endl;
return false;
}
}
diff --git a/umbrello/umbrello/clipboard/umlclipboard.h b/umbrello/umbrello/clipboard/umlclipboard.h
index 017a4beb..b0607ef2 100644
--- a/umbrello/umbrello/clipboard/umlclipboard.h
+++ b/umbrello/umbrello/clipboard/umlclipboard.h
@@ -167,13 +167,13 @@ private:
bool& OnlyAttsOps);
/**
- * Adds the children of a UMLListViewItem to m_ItemList.
+ * Adds the tqchildren of a UMLListViewItem to m_ItemList.
*/
bool insertItemChildren(UMLListViewItem* Item,
UMLListViewItemList& SelectedItems);
/**
- * Inserts the data of the children of the given item
+ * Inserts the data of the tqchildren of the given item
* into the item data list. Used for clip type 4. Used
* to make * sure classes have all the attributes and
* operations saved.
@@ -181,7 +181,7 @@ private:
bool insertItemChildren(UMLListViewItem* item);
/**
- * Pastes the children of a UMLListViewItem (The Parent)
+ * Pastes the tqchildren of a UMLListViewItem (The Parent)
*/
bool pasteChildren(UMLListViewItem* parent, IDChangeLog *chgLog);
diff --git a/umbrello/umbrello/clipboard/umldrag.cpp b/umbrello/umbrello/clipboard/umldrag.cpp
index 27f8dde2..543a4b39 100644
--- a/umbrello/umbrello/clipboard/umldrag.cpp
+++ b/umbrello/umbrello/clipboard/umldrag.cpp
@@ -108,11 +108,11 @@ void UMLDrag::setSubType(const TQCString& string, int index) {
data->setSubType(string, index);
}
-void UMLDrag::setEncodedData(const TQByteArray& encodedData, int index) {
- data->enc[index] = encodedData.copy();
+void UMLDrag::setEncodedData(const TQByteArray& tqencodedData, int index) {
+ data->enc[index] = tqencodedData.copy();
}
-TQByteArray UMLDrag::encodedData(const char* dataName) const {
+TQByteArray UMLDrag::tqencodedData(const char* dataName) const {
TQString str(dataName);
for (int i = 0; i < 4; i++) {
if ( !qstricmp(dataName,data->fmt[i]) ) {
@@ -286,7 +286,7 @@ bool UMLDrag::decodeClip1(const TQMimeSource* mimeSource, UMLObjectList& objects
if ( !mimeSource->provides("application/x-uml-clip1") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip1");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip1");
if ( !payload.size() ) {
return false;
}
@@ -376,7 +376,7 @@ bool UMLDrag::decodeClip2(const TQMimeSource* mimeSource, UMLObjectList& objects
if ( !mimeSource->provides("application/x-uml-clip2") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip2");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip2");
if ( !payload.size() ) {
return false;
}
@@ -486,7 +486,7 @@ bool UMLDrag::getClip3TypeAndID(const TQMimeSource* mimeSource,
if ( !mimeSource->provides("application/x-uml-clip3") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip3");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip3");
if ( !payload.size() ) {
return false;
}
@@ -543,7 +543,7 @@ bool UMLDrag::decodeClip3(const TQMimeSource* mimeSource, UMLListViewItemList& u
if ( !mimeSource->provides("application/x-uml-clip3") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip3");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip3");
if ( !payload.size() ) {
return false;
}
@@ -602,7 +602,7 @@ bool UMLDrag::decodeClip4(const TQMimeSource* mimeSource, UMLObjectList& objects
if ( !mimeSource->provides("application/x-uml-clip4") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip4");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip4");
if ( !payload.size() ) {
return false;
}
@@ -699,7 +699,7 @@ bool UMLDrag::decodeClip5(const TQMimeSource* mimeSource, UMLObjectList& objects
if ( !mimeSource->provides("application/x-uml-clip5") ) {
return false;
}
- TQByteArray payload = mimeSource->encodedData("application/x-uml-clip5");
+ TQByteArray payload = mimeSource->tqencodedData("application/x-uml-clip5");
if ( !payload.size() ) {
return false;
}
diff --git a/umbrello/umbrello/clipboard/umldrag.h b/umbrello/umbrello/clipboard/umldrag.h
index fa535399..ad5e4f02 100644
--- a/umbrello/umbrello/clipboard/umldrag.h
+++ b/umbrello/umbrello/clipboard/umldrag.h
@@ -149,7 +149,7 @@ public:
*
* @param dataName the name of the data type to return
*/
- virtual TQByteArray encodedData(const char* dataName) const;
+ virtual TQByteArray tqencodedData(const char* dataName) const;
/**
* For use when the user selects only UML Objects