@ -151,7 +151,7 @@ that this widget was updated.
In order to add functionality to the widget, you need to register some function and add code to handle them. Here is the code to be used to register, put it in the beginning of the cpp file, above the constructor:
</para>
<screen>
#include <klocale.h> //for i18n
#include <tdelocale.h> //for i18n
#include "kommanderplugin.h"
#include "specials.h"
@ -24,7 +24,7 @@
// KDE
#include <kiconloader.h>
#include <klocale.h>
#include <tdelocale.h>
// local
#include "kimearea.h"
#include <kdebug.h>
#include <kurldrag.h>
#include <kglobal.h>
#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <tdeapplication.h>
#include <kmimetype.h>
@ -20,7 +20,7 @@
// locale
@ -41,18 +41,18 @@
#include <kcommand.h>
#include <tdeaction.h>
#include <tdeaccel.h>
#include <kstdaction.h>
#include <tdefiledialog.h>
#include <kmessagebox.h>
#include <tdemessagebox.h>
#include <kkeydialog.h>
#include <kedittoolbar.h>
#include <klineeditdlg.h>
#include <kstatusbar.h>
#include <kxmlguifactory.h>
@ -21,7 +21,7 @@
#include <tqrect.h>
#include <tqpoint.h>
#include <tqptrlist.h>
#include <tqmap.h>
#include "tdeversion.h"
@ -16,7 +16,7 @@
***************************************************************************/
#include <tqstring.h>
#include "kimagemapeditor.h"
#include "kimecommands.h"
@ -35,12 +35,12 @@
#include <tdehtmlview.h>
#include <tdehtml_part.h>
#include <ktempfile.h>
#include <tdetempfile.h>
#include <kpushbutton.h>
#include <kstdguiitem.h>
@ -22,7 +22,7 @@
@ -17,7 +17,7 @@
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <dcopclient.h>
#include <tdelistview.h>
@ -26,7 +26,7 @@
#include <tdeio/scheduler.h>
#include <kdirlister.h>
#include <tdefileitem.h>
//app includes
#include <tdeactioncollection.h>
#include <kguiitem.h>
@ -34,7 +34,7 @@
#include <tdeio/slave.h>
#include <dom/html_misc.h>
#include <dom/dom_node.h>
#include "../parser/node.h"
#include "../ui/treeview.h"
#include <kcharsets.h>
#include <tqdom.h>
@ -25,7 +25,7 @@
#include "../utils/mvector.h"
#include <kurl.h>
class TreeView;
class TreeViewItem;
@ -20,9 +20,9 @@
#include <kprotocolmanager.h>
#include <tdeprotocolmanager.h>
#include <tqvaluevector.h>
@ -28,9 +28,9 @@
#include <klibloader.h>
@ -19,7 +19,7 @@
#include <kinstance.h>
@ -30,7 +30,7 @@
#include <tdeaboutapplication.h>
#include <kbugreport.h>
#include <tdeconfigdialog.h>
#include <kglobalsettings.h>
#include <tdeglobalsettings.h>
#include <tdeshortcut.h>
@ -23,7 +23,7 @@
#include <iostream>
#include "documentrootdialog.h"
#include <kurlrequester.h>
@ -18,7 +18,7 @@
#include <tdestdaccel.h>
bool KLSHistoryCombo::items_saved_ = false;
#include <kcombobox.h>
#include <klineedit.h>
@ -15,7 +15,7 @@
#include <tqpainter.h>
#include <tqcolor.h>
@ -23,14 +23,14 @@
#include <ksqueezedtextlabel.h>
#include <kprogress.h>
#include <tdeconfig.h>
#include <tdeactionclasses.h>
#include <ksavefile.h>
#include <tdeio/netaccess.h>
#include "configidentificationdialog.h"
@ -34,8 +34,8 @@
#include <krun.h>
#include <dcopref.h>
#include <kstringhandler.h>
@ -18,13 +18,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
#include <tqwidget.h>
@ -42,7 +42,7 @@
/**
@ -40,7 +40,7 @@
#include "metadatabase.h"
#include "widgetfactory.h"
bool QDesignerAction::addTo( TQWidget *w )
{
#include <tqpopupmenu.h>
#include <tqobjectlist.h>
ActionEditor::ActionEditor( TQWidget* parent, const char* name, WFlags fl )
: ActionEditorBase( parent, name, fl ), currentAction( 0 ), formWindow( 0 )
#include <tqdragobject.h>
#include <tqheader.h>
ActionListView::ActionListView( TQWidget *parent, const char *name )
: TQListView( parent, name )
@ -15,11 +15,11 @@
* *
/* KDE INCLUDES */
#include <ktextedit.h>
/** KDE INCLUDES */
/** QT INCLUDES */
#include <tqptrstack.h>
@ -48,7 +48,7 @@
#endif
#include <tqaction.h>
CommandHistory::CommandHistory( int s )
@ -31,7 +31,7 @@
static const char *const ignore_slots[] = {
"destroyed()",
@ -35,8 +35,8 @@
// KDE includes
@ -42,8 +42,8 @@
#include <tqwhatsthis.h>
// Other includes
@ -22,11 +22,11 @@
#include <tdelistbox.h>
#include <ktextbrowser.h>
@ -43,7 +43,7 @@
#include <tqworkspace.h>
#include <tqaccel.h>
#include <stdlib.h>
@ -29,7 +29,7 @@
#include <tqpushbutton.h>
#include <tqcheckbox.h>
IconViewEditor::IconViewEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: IconViewEditorBase( parent, 0, true ), formwindow( fw )
ListBoxEditor::ListBoxEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: ListBoxEditorBase( parent, 0, true ), formwindow( fw )
@ -35,7 +35,7 @@
ListViewEditor::ListViewEditor( TQWidget *parent, TQListView *lv, FormWindow *fw )
: ListViewEditorBase( parent, 0, true ), listview( lv ), formwindow( fw )
#include <ksplashscreen.h>
@ -76,9 +76,9 @@
#include <kinputdialog.h>
#include <kmenubar.h>
#include <tdemenubar.h>
#include <kommanderversion.h>
#include <kommanderwidget.h>
#include <kprocess.h>
@ -61,12 +61,12 @@
#include <tdepopupmenu.h>
#include <tqtabwidget.h>
class TDEListBox;
class TDEProcess;
#include <tqmultilineedit.h>
MultiLineEditor::MultiLineEditor( TQWidget *parent, TQWidget *editWidget, FormWindow *fw )
: MultiLineEditorBase( parent, 0, true ), formwindow( fw )
@ -39,8 +39,8 @@
#include <tqmessagebox.h>
#include "dialog.h"
@ -45,7 +45,7 @@
#include <tqiconview.h>
#if defined(DESIGNER)
#include "pics/images.h"
@ -88,7 +88,7 @@
#include "pics/hand.xbm"
#include "pics/no.xbm"
static TQFontDatabase *fontDataBase = 0;
TQString assistantPath();
@ -72,7 +72,7 @@
#include <tqtable.h>
static TQString makeIndent( int indent )
@ -28,7 +28,7 @@
#include <tqapplication.h>
#include <tqlabel.h>
SizeHandle::SizeHandle( FormWindow *parent, Direction d, WidgetSelection *s )
: TQWidget( parent )
#include "mainwindow.h"
TableEditor::TableEditor( TQWidget* parent, TQWidget *editWidget, FormWindow *fw, const char* name, bool modal, WFlags fl )
: TableEditorBase( parent, name, modal, fl ),
#include <kommanderfactory.h>
const int dbsize = 300;
const int dbcustom = 200;
**
**********************************************************************/
#include "kmdrmainwindow.h"
WizardEditor::WizardEditor( TQWidget *parent, TQWizard *w, FormWindow *fw )
: WizardEditorBase( parent, 0 ), formwindow( fw ), wizard( w )
@ -46,7 +46,7 @@
#include "qcompletionedit.h"
static const char * const folderxpm[]={
"16 16 6 1",
@ -156,7 +156,7 @@ cppContent="/*******************************************************************
#include <klocale.h>
#include <tdelocale.h>
/* QT INCLUDES */
#include <qstring.h>
@ -18,9 +18,9 @@
@ -19,10 +19,10 @@
#include <dcopinformation.h>
#include <specialinformation.h>
void Instance::registerDCOP()
@ -96,8 +96,8 @@
#include <tqtoolbox.h>
#include "specialinformation.h"
SpecialFunction::SpecialFunction(const TQString& name, const TQString& description,
int minArgs, int maxArgs)
#include <tqobject.h>
@ -23,9 +23,9 @@
MainWindow::MainWindow( TQWidget* parent, const char *name, WFlags f )
#include "expression.h"
Expression::Expression() : m_start(0), m_error(false)
@ -32,14 +32,14 @@
#include <tqmetaobject.h>
#include <kcolordialog.h>
#include <kpassdlg.h>
using namespace Parse;
@ -24,8 +24,8 @@
#include "kommanderwidget.h"
#include <kdialogbase.h>
@ -14,9 +14,9 @@
@ -14,7 +14,7 @@
#include "parser.h"
#include "parserdata.h"
#include <tqtextstream.h>
@ -15,8 +15,8 @@
#include <tqdialog.h>
@ -16,8 +16,8 @@
#include <tqcursor.h>
#include <tdefontdialog.h>
enum Functions {
FirstFunction = 139,
#include <tqevent.h>
#include <tqgroupbox.h>
/* OTHER INCLUDES */
#include <specials.h>
#include "lineedit.h"
#include <kommanderplugin.h>
enum functions {
#include <tqpixmap.h>
#include <tqlayout.h>
@ -15,9 +15,9 @@
#include <tqstringlist.h>
#include "textedit.h"
#define ADDWIDGET 120
#define CURRENTWIDGET 121
@ -17,8 +17,8 @@
@ -2,9 +2,9 @@
#include "%{APPNAMELC}.h"
class %{APPNAME}Plugin : public KommanderPlugin
@ -4,9 +4,9 @@
@ -7,7 +7,7 @@
KXsldbg::KXsldbg()
#include <tdeversion.h>
#if KDE_IS_VERSION(3,1,90)
@ -27,7 +27,7 @@
#include "help.h"
#include "files.h"
#include "arraylist.h"
#include "xsldbgmsg.h"
#include "utils.h"
#include <tqfileinfo.h>
@ -100,7 +100,7 @@
#include <libexslt/exsltconfig.h>
#include <tqfile.h>
#ifdef WIN32
@ -81,7 +81,7 @@
#include <libxslt/xsltutils.h>
#include "breakpoint.h"
************************************************************************************/
#include "xsldbgbreakpointlistitem.h"
XsldbgBreakpointListItem::XsldbgBreakpointListItem(TQListView *parent,
#include <tqlistview.h>
#include <tqlineedit.h>
#include <libxml/tree.h>
@ -8,7 +8,7 @@
#include "xsldbginspector.h"
#include <tqvariant.h>
#include <tqlistbox.h>
#include "xsldbglocallistitem.h"
XsldbgLocalListItem::XsldbgLocalListItem(TQListView *parent, TQString fileName, int lineNumber,
TQString localName, TQString templateContext, TQString selectXPath, bool localVariable)
#include "xsldbglocalvariablesimpl.h"
#include "xsldbgdebugger.h"
XsldbgLocalVariablesImpl::XsldbgLocalVariablesImpl(XsldbgDebugger *debugger,
*@author Keith Isdale
*/
@ -2,7 +2,7 @@
static const char *description =
@ -37,8 +37,8 @@
/* Forward delare private functions */
static int notifyXsldbgAppSimple(XsldbgMessageEnum type, const void *data);
@ -21,13 +21,13 @@
#include "downloaddialog.h"
#include "downloaddialog.moc"
#include <ktabctl.h>
#include <tdeio/job.h>
@ -25,8 +25,8 @@
#include "knewstuff.h"
@ -20,8 +20,8 @@
#include "entry.h"
using namespace KNS;
#include "engine.h"
@ -24,11 +24,11 @@
#include <tqdir.h>
#include <ktar.h>
@ -18,10 +18,10 @@
//kde includes
#include <ktempdir.h>
@ -21,9 +21,9 @@
#include "provider.h"
#include "provider.moc"
@ -23,8 +23,8 @@
@ -22,9 +22,9 @@
#include <kmdcodec.h>
#include <kprocio.h>
@ -27,10 +27,10 @@
@ -34,13 +34,13 @@
#ifndef NO_KDE2
#include <tdetoolbar.h>
#include <twin.h>
#include "config.h"
#ifdef TQ_WS_X11
@ -26,9 +26,9 @@
#include <tqtooltip.h>
#include "ktabbar.h"
#include "ktabwidget.h"
@ -32,8 +32,8 @@
#include <math.h>
#include <tqnamespace.h>
#include <tqimage.h>
//////////////////////////////////////////////////////////////////////////////
@ -38,7 +38,7 @@
#include "tdemdichildfrm.h"
#include "tdemdichildarea.h"
#include "tdemdimainfrm.h"
#ifdef TQ_WS_WIN
@ -39,7 +39,7 @@
#include "tdemdidefines.h"
#include <tqiconset.h>
//============ KMdiChildView ============//
@ -28,13 +28,13 @@
#include <tqtimer.h>
#include <tdemultitabbar.h>
//TODO: Well, this is already defined in tdeui/kdockwidget.cpp
static const char* const tdemdi_not_close_xpm[] =
#include <tdemainwindow.h>
#include <assert.h>
@ -43,12 +43,12 @@
#include <tqmenubar.h>
#include <tdemdidockcontainer.h>
@ -32,7 +32,7 @@
#define _KMDIMAINFRM_H_
#include <tdeparts/dockmainwindow.h>
#include "propertysetter.h"
#include <tqvbox.h>
#include "colorslider.h"
@ -30,9 +30,9 @@
#include "project.h"
#include "encodingselector.h"
#include <tqtextcodec.h>
@ -20,12 +20,12 @@
#include <tqfont.h>
#include <tqregexp.h>
#include <kdialog.h>
#include <tdetexteditor/editinterface.h>
#include "stylesheetparser.h"
static const TQString msg1(i18n("has not been closed")),
#include <kimagefilepreview.h>
@ -29,8 +29,8 @@
// CvsService
// KDE Includes
#include <kserversocket.h>
#include <kstreamsocket.h>
DBGpNetwork::DBGpNetwork()
: TQObject()
#include <kgenericfactory.h>
#include <tqcombobox.h>
@ -19,11 +19,11 @@
#include <tdetexteditor/markinterfaceextension.h>
#include <tdetexteditor/viewcursorinterface.h>
#include <tdeparts/componentfactory.h>
#include <qextfileinfo.h>
#include <kdockwidget.h>
#include "debuggervariable.h"
DebuggerVariable::DebuggerVariable()
: m_isReference(false)
#include <tqslider.h>
@ -18,8 +18,8 @@
#include "debuggerclient.h"
#include "debuggerinterface.h"
// CTor
@ -17,9 +17,9 @@
#include <tdetexteditor/document.h>
#include "quantadebuggerinterface.h"
//#include <kpreviewwidgetbase.h>
/*class PreviewWidget : public KPreviewWidgetBase {
#include "framewizard.h"
#include "fmrceditor.h"
#include "fmfpeditor.h"
//#include <kdebug.h>
#include "fwglobal.h"
@ -32,9 +32,9 @@
#include <kkeybutton.h>
#include <tdeio/jobclasses.h>
#include <kicondialog.h>
//own includes
@ -25,12 +25,12 @@
#include <tqspinbox.h>
/*
#include <tqradiobutton.h>
// kde includes
PreviewOptions::PreviewOptions(TQWidget *parent, const char *name)
: PreviewOptionsS(parent,name)
@ -46,12 +46,12 @@
#include <kseparator.h>
#include <kpalette.h>
#include <kimageeffect.h>
//kde include
//qt includes
// include kde headers
(C) 2006 Andras Mantia
#include <knumvalidator.h>
#include <kabc/stdaddressbook.h>
#include <tdeabc/stdaddressbook.h>
#include "tagmiscdlg.h"
#include "tagmisc.h"
#include <tqbuttongroup.h>
#include "tagquicklistdlg.h"
#include "tagattr.h"
#include "annotationoutput.h"
#include "messageitem.h"
MessageItem::MessageItem( TQListBox * listbox, const TQString &text, int line, int column, const TQString &fname )
:TQListBoxText(listbox,text),lineNumber(line),columnNumber(column),filename(fname)
@ -19,8 +19,8 @@
@ -22,12 +22,12 @@
#include "dtd.h"
#include "../tquantacommon.h"
@ -26,8 +26,8 @@
@ -58,7 +58,7 @@
#include <kdirwatch.h>
#include <tdetexteditor/encodinginterface.h>
#include <dom/dom_text.h>
@ -22,8 +22,8 @@
#include "node.h"
@ -27,9 +27,9 @@
#include <ktrader.h>
#include <tdeparts/factory.h>
#include <tdetexteditor/selectioninterface.h>
#include <tdemultipledrag.h>
@ -25,9 +25,9 @@
#include <tdehtml_settings.h>
#include "whtmlpart.h"
@ -17,15 +17,15 @@
#include <tdeparts/part.h>
#include <tqdict.h>
@ -21,8 +21,8 @@
#include "eventconfigurationdlg.h"
#include "eventeditordlg.h"
@ -21,10 +21,10 @@
#include "listdlg.h"
@ -33,9 +33,9 @@
@ -28,8 +28,8 @@
#include <kprotocolinfo.h>
@ -25,11 +25,11 @@
#include <kled.h>
// app includes
void ProjectOptions::buttonTemplate_clicked()
@ -36,13 +36,13 @@
#include <kurlrequesterdlg.h>
@ -37,18 +37,18 @@
#include <kuser.h>
//standard includes
@ -24,9 +24,9 @@
#include "teammembersdlg.h"
#include "servertreeview.h"
@ -72,7 +72,7 @@ tde_add_executable( quanta AUTOMOC
tableeditor-static preview-static
utility-static quantamodule-static
kafkalibrary-static tdemdi-shared tdehtml-shared
knewstuff-shared kabc-shared tdetexteditor-shared
knewstuff-shared tdeabc-shared tdetexteditor-shared
${LIBXML_LIBRARIES} ${LIBXSLT_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)
@ -34,14 +34,14 @@
#include <ksimpleconfig.h>
@ -56,11 +56,11 @@
#include <kencodingfiledialog.h>
@ -75,7 +75,7 @@
@ -39,11 +39,11 @@
@ -27,11 +27,11 @@
// include files for KDE
@ -36,11 +36,11 @@
#include <tdeparts/partmanager.h>
#include <tdemdimainfrm.h>
@ -36,10 +36,10 @@
#include <kopenwith.h>
#include <kpropertiesdialog.h>
@ -47,7 +47,7 @@
#include <kcursor.h>
// KDE clases
@ -18,11 +18,11 @@
@ -22,14 +22,14 @@
@ -15,15 +15,15 @@
@ -20,10 +20,10 @@
#include "structtreeview.h"
@ -30,8 +30,8 @@
#include <tdetexteditor/view.h>
#include <kcolorcombo.h>
@ -35,19 +35,19 @@
@ -16,9 +16,9 @@
#include "qpevents.h"
@ -33,13 +33,13 @@
//remove the below ones when KTQPasteAction is removed
@ -30,11 +30,11 @@
#include <dom/dom_string.h>
@ -27,13 +27,13 @@
#include <tdeaccelmanager.h>
#include <tdetoolbarbutton.h>
#include "toolbartabwidget.h"
#include <tqwidgetstack.h>
@ -29,14 +29,14 @@
//KDE
static const char description[] =
I18N_NOOP("Batch search and replace tool");
class TQString;
#include "configurationclasses.h"
class TDEListView;
#include "tdefilereplace.h"
#define TDEFILEREPLACELIB_H
class KlistView;
@ -30,12 +30,12 @@
#include <tdeparts/genericfactory.h>
#include <kiconeffect.h>
namespace whatthisNameSpace