summaryrefslogtreecommitdiffstats
path: root/src/gui/itemeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemeditor.cpp')
-rw-r--r--src/gui/itemeditor.cpp54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/gui/itemeditor.cpp b/src/gui/itemeditor.cpp
index bdfe539..3e8a30e 100644
--- a/src/gui/itemeditor.cpp
+++ b/src/gui/itemeditor.cpp
@@ -17,63 +17,63 @@
#include <klocale.h>
#include <kstandarddirs.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qwhatsthis.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqwhatsthis.h>
#include <assert.h>
ItemEditor * ItemEditor::m_pSelf = 0l;
-ItemEditor * ItemEditor::self( KateMDI::ToolView * parent )
+ItemEditor * ItemEditor::self( KateMDI::ToolView * tqparent )
{
if (!m_pSelf)
{
- assert(parent);
- m_pSelf = new ItemEditor(parent);
+ assert(tqparent);
+ m_pSelf = new ItemEditor(tqparent);
}
return m_pSelf;
}
-ItemEditor::ItemEditor( KateMDI::ToolView * parent )
- : QWidget( (QWidget*)parent, "Item Editor" )
+ItemEditor::ItemEditor( KateMDI::ToolView * tqparent )
+ : TQWidget( (TQWidget*)tqparent, "Item Editor" )
{
- QWhatsThis::add( this, i18n("This allows editing of advanced properties of the selected item(s). Right click on the picture of the item to set the orientation.") );
+ TQWhatsThis::add( this, i18n("This allows editing of advanced properties of the selected item(s). Right click on the picture of the item to set the orientation.") );
- QVBoxLayout *vlayout = new QVBoxLayout( this, 0, 6 );
+ TQVBoxLayout *vtqlayout = new TQVBoxLayout( this, 0, 6 );
- m_nameLbl = new QLabel( this, "" );
- vlayout->addWidget(m_nameLbl);
- vlayout->addSpacing(8);
+ m_nameLbl = new TQLabel( this, "" );
+ vtqlayout->addWidget(m_nameLbl);
+ vtqlayout->addSpacing(8);
propList = new PropertiesListView(this);
- vlayout->addWidget(propList);
- QWhatsThis::add(propList,i18n("<qt>Shows properties associated with the currently selected item(s).<p>Select a property to change its value. If multiple items are selected with different values then the property will appear greyed out, use ""Merge Properties"" to make them the same.<p>Select ""Defaults to set all properties to their default values"""));
+ vtqlayout->addWidget(propList);
+ TQWhatsThis::add(propList,i18n("<qt>Shows properties associated with the currently selected item(s).<p>Select a property to change its value. If multiple items are selected with different values then the property will appear greyed out, use ""Merge Properties"" to make them the same.<p>Select ""Defaults to set all properties to their default values"""));
- QHBoxLayout *h1Layout = new QHBoxLayout( vlayout, 4 );
- QSpacerItem *spacer1 = new QSpacerItem( 1, 1 );
+ TQHBoxLayout *h1Layout = new TQHBoxLayout( vtqlayout, 4 );
+ TQSpacerItem *spacer1 = new TQSpacerItem( 1, 1 );
h1Layout->addItem(spacer1);
- m_defaultsBtn = new QPushButton( i18n("Defaults"), this);
+ m_defaultsBtn = new TQPushButton( i18n("Defaults"), this);
m_defaultsBtn->setEnabled(false);
- connect(m_defaultsBtn,SIGNAL(clicked()),propList,SLOT(slotSetDefaults()));
+ connect(m_defaultsBtn,TQT_SIGNAL(clicked()),propList,TQT_SLOT(slotSetDefaults()));
h1Layout->addWidget(m_defaultsBtn);
- m_mergeBtn = new QPushButton( i18n("Merge properties"), this );
+ m_mergeBtn = new TQPushButton( i18n("Merge properties"), this );
m_mergeBtn->setEnabled(false);
- connect(m_mergeBtn,SIGNAL(clicked()),this,SLOT(mergeProperties()));
+ connect(m_mergeBtn,TQT_SIGNAL(clicked()),this,TQT_SLOT(mergeProperties()));
h1Layout->addWidget(m_mergeBtn);
- // Orientation widget stuff
- QHBoxLayout *h2Layout = new QHBoxLayout( vlayout, 6 );
- QSpacerItem *spacer2 = new QSpacerItem( 1, 1 );
+ // Qt::Orientation widget stuff
+ TQHBoxLayout *h2Layout = new TQHBoxLayout( vtqlayout, 6 );
+ TQSpacerItem *spacer2 = new TQSpacerItem( 1, 1 );
h2Layout->addItem(spacer2);
m_orientationWidget = new OrientationWidget(this);
h2Layout->addWidget(m_orientationWidget);
- QWhatsThis::add(m_orientationWidget,i18n("Change the orientation of the selected item by selecting the appropriate button"));
- QSpacerItem *spacer3 = new QSpacerItem( 1, 1 );
+ TQWhatsThis::add(m_orientationWidget,i18n("Change the orientation of the selected item by selecting the appropriate button"));
+ TQSpacerItem *spacer3 = new TQSpacerItem( 1, 1 );
h2Layout->addItem(spacer3);
slotClear();