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/dialogs/umlviewdialog.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/dialogs/umlviewdialog.cpp')
-rw-r--r-- | umbrello/umbrello/dialogs/umlviewdialog.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/umbrello/umbrello/dialogs/umlviewdialog.cpp b/umbrello/umbrello/dialogs/umlviewdialog.cpp index 94f44059..76ef776d 100644 --- a/umbrello/umbrello/dialogs/umlviewdialog.cpp +++ b/umbrello/umbrello/dialogs/umlviewdialog.cpp @@ -13,14 +13,14 @@ #include "umlviewdialog.h" // qt/kde includes -#include <qvbox.h> -#include <qlayout.h> -#include <qcheckbox.h> -#include <qlabel.h> -#include <qlineedit.h> -#include <qgroupbox.h> -#include <qtextedit.h> -#include <qspinbox.h> +#include <tqvbox.h> +#include <tqlayout.h> +#include <tqcheckbox.h> +#include <tqlabel.h> +#include <tqlineedit.h> +#include <tqgroupbox.h> +#include <tqtextedit.h> +#include <tqspinbox.h> #include <kiconloader.h> #include <klocale.h> #include <kmessagebox.h> @@ -35,7 +35,7 @@ #include "diagrampropertiespage.h" -UMLViewDialog::UMLViewDialog( QWidget * pParent, UMLView * pView ) : KDialogBase(IconList, i18n("Properties"), Ok | Apply | Cancel | Help, +UMLViewDialog::UMLViewDialog( TQWidget * pParent, UMLView * pView ) : KDialogBase(IconList, i18n("Properties"), Ok | Apply | Cancel | Help, Ok, pParent, "_VIEWDLG_", true, true) { m_pView = pView; m_options = m_pView -> getOptionState(); @@ -67,7 +67,7 @@ void UMLViewDialog::setupPages() void UMLViewDialog::setupDiagramPropertiesPage() { - QVBox *page = addVBoxPage( i18n("General"), i18n("General Settings"), DesktopIcon( "misc") ); + TQVBox *page = addVBoxPage( i18n("General"), i18n("General Settings"), DesktopIcon( "misc") ); m_diagramProperties = new DiagramPropertiesPage(page); m_diagramProperties->diagramName->setText( m_pView->getName() ); @@ -90,22 +90,22 @@ void UMLViewDialog::setupClassPage() { return; } - QFrame * newPage = addPage( i18n("Display"), i18n("Classes Display Options"), DesktopIcon( "info") ); - QHBoxLayout * m_pOptionsLayout = new QHBoxLayout( newPage ); + TQFrame * newPage = addPage( i18n("Display"), i18n("Classes Display Options"), DesktopIcon( "info") ); + TQHBoxLayout * m_pOptionsLayout = new TQHBoxLayout( newPage ); m_pOptionsPage = new ClassOptionsPage( newPage, &m_options ); m_pOptionsLayout -> addWidget( m_pOptionsPage ); } void UMLViewDialog::setupColorPage() { - QFrame * colorPage = addPage( i18n("Color"), i18n("Diagram Colors"), DesktopIcon( "colors") ); - QHBoxLayout * m_pColorLayout = new QHBoxLayout(colorPage); + TQFrame * colorPage = addPage( i18n("Color"), i18n("Diagram Colors"), DesktopIcon( "colors") ); + TQHBoxLayout * m_pColorLayout = new TQHBoxLayout(colorPage); m_pColorPage = new UMLWidgetColorPage( colorPage, &m_options ); m_pColorLayout -> addWidget(m_pColorPage); } void UMLViewDialog::setupFontPage() { - QVBox * page = addVBoxPage( i18n("Font"), i18n("Font Settings"), DesktopIcon( "fonts") ); - m_pChooser = new KFontChooser( (QWidget*)page, "font", false, QStringList(), false); + TQVBox * page = addVBoxPage( i18n("Font"), i18n("Font Settings"), DesktopIcon( "fonts") ); + m_pChooser = new KFontChooser( (TQWidget*)page, "font", false, TQStringList(), false); m_pChooser -> setFont( m_pView -> getOptionState().uiState.font ); } @@ -157,7 +157,7 @@ void UMLViewDialog::applyPage( Page page ) { } void UMLViewDialog::checkName() { - QString name = m_diagramProperties->diagramName-> text(); + TQString name = m_diagramProperties->diagramName-> text(); UMLDoc * pDoc = UMLApp::app()-> getDocument(); UMLView * pView = pDoc -> findView( m_pView -> getType(), name ); if( name.length() == 0 ) { |