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/autolayout | |
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/autolayout')
-rw-r--r-- | umbrello/umbrello/autolayout/autolayoutdlg.cpp | 12 | ||||
-rw-r--r-- | umbrello/umbrello/autolayout/autolayoutdlg.h | 8 | ||||
-rw-r--r-- | umbrello/umbrello/autolayout/simplecanvas.h | 2 |
3 files changed, 11 insertions, 11 deletions
diff --git a/umbrello/umbrello/autolayout/autolayoutdlg.cpp b/umbrello/umbrello/autolayout/autolayoutdlg.cpp index 2f6b1a4c..894dddbc 100644 --- a/umbrello/umbrello/autolayout/autolayoutdlg.cpp +++ b/umbrello/umbrello/autolayout/autolayoutdlg.cpp @@ -14,13 +14,13 @@ #include "../umlwidget.h" #include "autolayout.h" #include "newautolayoutdialog.h" -#include <qcheckbox.h> -#include <qspinbox.h> -#include <qslider.h> +#include <tqcheckbox.h> +#include <tqspinbox.h> +#include <tqslider.h> #include <kdebug.h> -AutolayoutDlg::AutolayoutDlg(KConfig* c,UMLView* v,QWidget *parent, const char *name) +AutolayoutDlg::AutolayoutDlg(KConfig* c,UMLView* v,TQWidget *parent, const char *name) :MyDialog1(parent, name) { view=v; @@ -159,7 +159,7 @@ void AutolayoutDlg::writeConfig( KConfig * conf) } -void AutolayoutDlg::slotSelectAlgorithm( const QString& _algname) +void AutolayoutDlg::slotSelectAlgorithm( const TQString& _algname) { algname=_algname; @@ -167,7 +167,7 @@ void AutolayoutDlg::slotSelectAlgorithm( const QString& _algname) Autolayout::Autolayouter * AutolayoutDlg::getAutolayouter( ) { - const QString text = algorithmCOB->currentText(); + const TQString text = algorithmCOB->currentText(); kDebug() << "Autolayout Algorithm " << algname << " found " << text << endl; if (text == "dot") return new Autolayout::DotAutolayouter(); diff --git a/umbrello/umbrello/autolayout/autolayoutdlg.h b/umbrello/umbrello/autolayout/autolayoutdlg.h index 2e40d736..126c4a08 100644 --- a/umbrello/umbrello/autolayout/autolayoutdlg.h +++ b/umbrello/umbrello/autolayout/autolayoutdlg.h @@ -14,7 +14,7 @@ #include "newautolayoutdialog.h" #include "../umlview.h" -#include <qobject.h> +#include <tqobject.h> #include <kconfig.h> #include "autolayout.h" @@ -22,7 +22,7 @@ class AutolayoutDlg : public MyDialog1 { Q_OBJECT public: - AutolayoutDlg(KConfig* c,UMLView* v, QWidget *parent = 0, const char *name = 0); + AutolayoutDlg(KConfig* c,UMLView* v, TQWidget *parent = 0, const char *name = 0); public slots: virtual void slotSetAssociationWeight(int i); virtual void slotSetDependenciesWeight(int i); @@ -39,7 +39,7 @@ class AutolayoutDlg : public MyDialog1 virtual void slotDoAutolayout(); void readConfig(KConfig*); void writeConfig(KConfig*); - virtual void slotSelectAlgorithm(const QString&); + virtual void slotSelectAlgorithm(const TQString&); private: @@ -55,7 +55,7 @@ class AutolayoutDlg : public MyDialog1 bool clusterizeHierarchies; int shapeSeparation; KConfig* config; - QString algname; + TQString algname; Autolayout::Autolayouter* getAutolayouter(); }; diff --git a/umbrello/umbrello/autolayout/simplecanvas.h b/umbrello/umbrello/autolayout/simplecanvas.h index 41865f8a..29712b9e 100644 --- a/umbrello/umbrello/autolayout/simplecanvas.h +++ b/umbrello/umbrello/autolayout/simplecanvas.h @@ -16,7 +16,7 @@ #define AUTOLAYOUTSIMPLECANVAS_H #include "canvas.h" -#include <qrect.h> +#include <tqrect.h> namespace Autolayout { /** |