diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/aligntoolbar.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/aligntoolbar.cpp')
-rw-r--r-- | umbrello/umbrello/aligntoolbar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/umbrello/umbrello/aligntoolbar.cpp b/umbrello/umbrello/aligntoolbar.cpp index 3be8689a..1e41eee7 100644 --- a/umbrello/umbrello/aligntoolbar.cpp +++ b/umbrello/umbrello/aligntoolbar.cpp @@ -17,7 +17,7 @@ #include <vector> // qt includes -#include <qmainwindow.h> +#include <tqmainwindow.h> // kde includes #include <klocale.h> @@ -31,7 +31,7 @@ #include "umlwidget.h" #include "umlwidgetlist.h" -AlignToolBar::AlignToolBar(QMainWindow* parentWindow, const char* ) +AlignToolBar::AlignToolBar(TQMainWindow* parentWindow, const char* ) : KToolBar(parentWindow,Qt::DockRight,false) { // load images for the buttons loadPixmaps(); @@ -50,7 +50,7 @@ AlignToolBar::AlignToolBar(QMainWindow* parentWindow, const char* ) setVerticalStretchable( true ); // gets called whenever a button in the toolbar is clicked - connect( this, SIGNAL( released( int ) ), this, SLOT( slotButtonChanged (int ) ) ); + connect( this, TQT_SIGNAL( released( int ) ), this, TQT_SLOT( slotButtonChanged (int ) ) ); } AlignToolBar::~AlignToolBar() { @@ -68,7 +68,7 @@ bool AlignToolBar::hasWidgetSmallerY(const UMLWidget* widget1, const UMLWidget* void AlignToolBar::loadPixmaps() { 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_Pixmaps[alac_align_left].load( dataDir + "align_left.png" ); @@ -381,7 +381,7 @@ void AlignToolBar::slotButtonChanged(int btn) { } else { KMessageBox::messageBox(0, KMessageBox::Information, i18n("For alignment you have to select at least 2 objects like classes or actors. You can not align associations."), - i18n("Information"), i18n("&OK"), QString(""), + i18n("Information"), i18n("&OK"), TQString(""), "showAlignInformation"); } // if (widgetList.count() > 1) |