summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/listpopupmenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'umbrello/umbrello/listpopupmenu.cpp')
-rw-r--r--umbrello/umbrello/listpopupmenu.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/umbrello/umbrello/listpopupmenu.cpp b/umbrello/umbrello/listpopupmenu.cpp
index 816d661b..d94f8c18 100644
--- a/umbrello/umbrello/listpopupmenu.cpp
+++ b/umbrello/umbrello/listpopupmenu.cpp
@@ -37,14 +37,14 @@
#include "objectwidget.h"
//ListPopupMenu for a UMLView (diagram)
-ListPopupMenu::ListPopupMenu(QWidget *parent, Menu_Type type, UMLView * view)
+ListPopupMenu::ListPopupMenu(TQWidget *parent, Menu_Type type, UMLView * view)
: KPopupMenu(parent) {
init();
setupMenu(type, view);
}
//ListPopupMenu for the tree list view
-ListPopupMenu::ListPopupMenu(QWidget *parent, Uml::ListView_Type type)
+ListPopupMenu::ListPopupMenu(TQWidget *parent, Uml::ListView_Type type)
: KPopupMenu(parent) {
init();
Menu_Type mt = mt_Undefined;
@@ -205,7 +205,7 @@ ListPopupMenu::ListPopupMenu(QWidget *parent, Uml::ListView_Type type)
}
//ListPopupMenu for a canvas widget
-ListPopupMenu::ListPopupMenu(QWidget * parent, UMLWidget * object,
+ListPopupMenu::ListPopupMenu(TQWidget * parent, UMLWidget * object,
bool multi, bool unique)
: KPopupMenu(parent)
{
@@ -249,11 +249,11 @@ ListPopupMenu::ListPopupMenu(QWidget * parent, UMLWidget * object,
}
if(m_pInsert)
- connect(m_pInsert, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pInsert, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pShow)
- connect(m_pShow, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pShow, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pColor)
- connect(m_pColor, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pColor, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
return;
}
@@ -437,11 +437,11 @@ ListPopupMenu::ListPopupMenu(QWidget * parent, UMLWidget * object,
}//end switch
if(m_pInsert)
- connect(m_pInsert, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pInsert, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pShow)
- connect(m_pShow, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pShow, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pColor)
- connect(m_pColor, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pColor, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
bool bCutState = UMLApp::app() -> getCutCopyState();
setItemEnabled( mt_Cut, bCutState );
@@ -621,7 +621,7 @@ void ListPopupMenu::insertContainerItems(bool folderAndDiagrams) {
insertFileNew();
}
-void ListPopupMenu::insertAssocItem(const QString &label, Menu_Type mt) {
+void ListPopupMenu::insertAssocItem(const TQString &label, Menu_Type mt) {
insertItem(label, mt);
insertStdItem(mt_Change_Font);
insertStdItem(mt_Reset_Label_Positions);
@@ -651,7 +651,7 @@ void ListPopupMenu::insertSubmodelAction() {
<< "current->getUMLObject (" << o->getName() << ") is not a Folder" << endl;
return;
}
- QString submodelFile = f->getFolderFile();
+ TQString submodelFile = f->getFolderFile();
if (submodelFile.isEmpty())
insertStdItem(mt_Externalize_Folder);
else
@@ -827,7 +827,7 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
m_pColor = 0;
KStandardDirs* dirs = KGlobal::dirs();
- QString dataDir = dirs->findResourceDir("data", "umbrello/pics/object.png");
+ TQString dataDir = dirs->findResourceDir("data", "umbrello/pics/object.png");
dataDir += "/umbrello/pics/";
m_pixmap[pm_Class] .load(dataDir+"class.png", "PNG");
m_pixmap[pm_Package] .load(dataDir+"package.png", "PNG");
@@ -1321,11 +1321,11 @@ void ListPopupMenu::setupMenu(Menu_Type type, UMLView* view) {
setItemEnabled( mt_Paste, UMLApp::app() -> getPasteState() );
}
if(m_pInsert)
- connect(m_pInsert, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pInsert, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pShow)
- connect(m_pShow, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pShow, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
if(m_pColor)
- connect(m_pColor, SIGNAL(activated(int)), this, SIGNAL(activated(int)));
+ connect(m_pColor, TQT_SIGNAL(activated(int)), this, TQT_SIGNAL(activated(int)));
}
void ListPopupMenu::setupDiagramMenu(UMLView* view) {