diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-12-23 13:14:38 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-12-23 13:14:38 +0100 |
commit | e1062b5b6bd0edc320ab967816743d7a52bbeeb6 (patch) | |
tree | e679ff2fd6f44a45c056bc306bc3eec5b353c901 /kdewidgets | |
parent | 7f8e73d6f561a95fc6d7084149ded936f0d69c42 (diff) | |
download | tdelibs-e1062b5b6bd0edc320ab967816743d7a52bbeeb6.tar.gz tdelibs-e1062b5b6bd0edc320ab967816743d7a52bbeeb6.zip |
Rename kdewidgets => tdewidgets
Diffstat (limited to 'kdewidgets')
57 files changed, 0 insertions, 1142 deletions
diff --git a/kdewidgets/AUTHORS b/kdewidgets/AUTHORS deleted file mode 100644 index 1c8341527..000000000 --- a/kdewidgets/AUTHORS +++ /dev/null @@ -1,3 +0,0 @@ -Daniel Molkentin <molkentin@kde.org> -Malte Starostik <malte@kde.org> -Nick Betcher <nbetcher@usinternet.com> diff --git a/kdewidgets/CMakeLists.txt b/kdewidgets/CMakeLists.txt deleted file mode 100644 index ce8c223a9..000000000 --- a/kdewidgets/CMakeLists.txt +++ /dev/null @@ -1,66 +0,0 @@ -################################################# -# -# (C) 2010 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -add_subdirectory( pics ) - - -add_definitions( - -DQT_PLUGIN -) - -include_directories( - ${TQT_INCLUDE_DIRS} - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_BINARY_DIR}/tdecore - ${CMAKE_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/tdecore - ${CMAKE_SOURCE_DIR}/tdeui - ${CMAKE_SOURCE_DIR}/tdeio - ${CMAKE_SOURCE_DIR}/tdeio/tdefile -) - -link_directories( - ${TQT_LIBRARY_DIRS} -) - - -##### maketdewidgets ############################ - -set( target maketdewidgets ) - -set( ${target}_SRCS - maketdewidgets.cpp -) - -tde_add_executable( ${target} - SOURCES ${${target}_SRCS} - LINK tdecore-shared - DESTINATION ${BIN_INSTALL_DIR} -) - -##### kdewidgets ################################ - -set( target kdewidgets ) - -set( ${target}_SRCS - classpreviews.cpp kdewidgets.cpp -) - -add_custom_command( OUTPUT kdewidgets.cpp - COMMAND ./maketdewidgets -o kdewidgets.cpp ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets - DEPENDS maketdewidgets ${CMAKE_CURRENT_SOURCE_DIR}/kde.widgets -) - -tde_add_kpart( ${target} AUTOMOC - SOURCES ${${target}_SRCS} - LINK tdeabc-shared - DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer -) diff --git a/kdewidgets/Makefile.am b/kdewidgets/Makefile.am deleted file mode 100644 index 5633b9c1d..000000000 --- a/kdewidgets/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ - -# This file is part of the KDE libraries -# Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org) -# (C) 1997 Stephan Kulow (coolo@kde.org) - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this library; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. - -SUBDIRS=. pics tests -AM_CXXFLAGS = -DQT_PLUGIN - -INCLUDES = -I$(top_srcdir)/tdefile $(all_includes) - -bin_PROGRAMS = maketdewidgets -maketdewidgets_SOURCES = maketdewidgets.cpp -maketdewidgets_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -maketdewidgets_LDADD = $(LIB_QT) ../tdecore/libtdecore.la - -kde_widget_LTLIBRARIES = kdewidgets.la -kdewidgets_la_LDFLAGS = $(KDE_PLUGIN) -module $(all_libraries) -kdewidgets_la_LIBADD = $(LIB_TDEIO) $(LIB_TDEABC) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) -kdewidgets_la_SOURCES = classpreviews.cpp kdewidgets.cpp - -kdewidgets.cpp: $(srcdir)/kde.widgets maketdewidgets - ./maketdewidgets -o kdewidgets.cpp $(srcdir)/kde.widgets - -CLEANFILES = kdewidgets.cpp - diff --git a/kdewidgets/README b/kdewidgets/README deleted file mode 100644 index a1b236ef3..000000000 --- a/kdewidgets/README +++ /dev/null @@ -1,65 +0,0 @@ -KDE Custom Widgets for Qt Designer 2 -==================================== - - -Summary: -======== - -This directory contains KDE custom widgets for designer 2 which comes with -Qt 3. Just make sure your plugin path in qtconfig includes -$TDEDIR/lib/trinity/plugins . With the KDE build system nothing special -(i.e. editing the plugin path) is needed, as uic will automatically be -called with -L <path to the kdewidgets plugin> . - -This plugin uses the QWidget plugin API of Qt >= 3.0 -Don't expect it to work with any other versions of Qt. - - -Known Bugs: -=========== - -Designer crashes when using widgets that use the kapp pointer. - -HOWTO Add Widgets: -================== -Just add new widgets to kde.widgets like this: -[ClassName] -IncludeFile=myheader.h -IconSet=mycoolwidget.png -ToolTip=My Cool Widget -WhatsThis=Long description of my cool widget -ConstructorArgs=(parent, name, otherNeccessaryArg) -IsContainer=true -Group=MyWidgetCollection - -Everything but [ClassName] is optional. -IncludeFile defaults to classname.h (all lowercase) -IconSet defaults to classname.png (all lowercase) -ToolTip defaults to ClassName -WhatsThis defaults to ClassName -ConstructorArgs=(parent, name) -IsContainer defaults to false - note, any value except an empty one is - interpreted as true, even if the value - is "false" :) So, if the widget is not a - container, just omit this line. -Group defaults to "KDE" - -Don't forget to add an icon to the pics directory. Try to make it look similar to the other icons and be the same size. - -There are some global options that you can have. - -[Global] -Init=new InitCode(); -Destroy= delete object; -PluginName=MyPlugin - -PluginName overrides the passed in value at the command line and is optional. -Init and Destroy are both optional arguments that can be used for custom build -up and tear down code. - -Have fun! - - -Ian Reinhart Geiser <geiseri@kde.org> -Daniel Molkentin <molkentin@kde.org> -Malte Starostik <malte@kde.org> diff --git a/kdewidgets/classpreviews.cpp b/kdewidgets/classpreviews.cpp deleted file mode 100644 index 0ba98f8bf..000000000 --- a/kdewidgets/classpreviews.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Daniel Molkentin <molkentin@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "classpreviews.h" - -KDialogPreview::KDialogPreview(TQWidget * parent , const char * /* name , bool, WFlagsf */) -{ - if (parent) - reparent(parent, TQPoint(0,0), true); - else - tqDebug("Error while reparenting!"); -} - diff --git a/kdewidgets/classpreviews.h b/kdewidgets/classpreviews.h deleted file mode 100644 index c2b67f27e..000000000 --- a/kdewidgets/classpreviews.h +++ /dev/null @@ -1,41 +0,0 @@ -/* This file is part of the KDE libraries - Copyright (C) 2001 Daniel Molkentin <molkentin@kde.org> - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -/* - - This class is intended as a place to widgets previews for designer. Simply inherit - your widget and modify its behavior (i.e. enter example data or do a reparent()). - - This will only affect the preview, designer/uic will still use the original widget - in the final source output! - - */ - -#ifndef __classimpls__ -#define __classimpls__ - -#include <kdialog.h> - -class KDialogPreview : public KDialog -{ -public: - KDialogPreview(TQWidget * parent = 0 , const char * name = 0/*, bool modal = false, WFlags f = 0*/); -}; - -#endif diff --git a/kdewidgets/kde.widgets b/kdewidgets/kde.widgets deleted file mode 100644 index 04db6f0d5..000000000 --- a/kdewidgets/kde.widgets +++ /dev/null @@ -1,306 +0,0 @@ -[Global] -PluginName=KDEWidgets -Includes=kinstance.h,classpreviews.h -Init=new TDEInstance("kdewidgets"); - -[KActiveLabel] -ToolTip=Active Label (KDE) -WhatsThis=A label with support for selection and clickable links -Group=Display (KDE) - -[KCharSelect] -ToolTip=Character Selection Widget (KDE) -WhatsThis=A widget that allows selection a character out ot a table -Group=Graphics (KDE) - -[KColorButton] -ToolTip=Color Chooser Button (KDE) -WhatsThis=A button that allows selecting a color -Group=Graphics (KDE) - -[KColorCombo] -ToolTip=Color Combo Box (KDE) -Group=Graphics (KDE) - -[KComboBox] -ToolTip=Combo Box (KDE) -Group=Input (KDE) - -[TDECModule] -ToolTip=KControl Center Module (KDE) -IsContainer=true -Group=Container (KDE) - -[KDateWidget] -ToolTip=Date preview (KDE) -Group=Input (KDE) - -[KDatePicker] -ToolTip=A date selection widget (KDE) -WhatsThis=Provides a widget for calendar date input -ConstructorArgs=(parent, TQDate::currentDate(), name) -Group=Input (KDE) - -[KDialog] -IsContainer=true -ImplClass=KDialogPreview -ToolTip=Class for simple Dialogs (KDE) -Group=Container (KDE) - -[KDualColorButton] -ToolTip=A widget for selecting two related colors (KDE) -Group=Graphics (KDE) - -[KEditListBox] -ToolTip=Fullfeatured edit box with buttons (KDE) -Group=Views (KDE) - -[TDEFontCombo] -ToolTip=Font Combo Box (KDE) -WhatsThis=A TQCombo Box showing the installed system fonts (with preview) -Group=Input (KDE) - -[TDEFontChooser] -IncludeFile=tdefontdialog.h -IconSet=tdefontcombo.png -ToolTip=Font Chooser (KDE) -WhatsThis=A font type, size and style selection widget complete with preview -Group=Input (KDE) - -[TDEFontRequester] -IncludeFile=tdefontrequester.h -ToolTip=Font Requester (KDE) -WhatsThis=A compact font selection and preview widget -Group=Input (KDE) - -[KGradientSelector] -IncludeFile=tdeselect.h -WhatsThis=A widget that allows the user to select two colors to form a gradient -Group=Graphics (KDE) - -[KHistoryCombo] -IncludeFile=kcombobox.h -ToolTip=A combobox for offering a history and completion (KDE) -WhatsThis=A combobox which implements a history like a unix shell -Group=Input (KDE) - -[KHSSelector] -IncludeFile=kcolordialog.h -ToolTip=Widget for Hue/Saturation selection (KDE) -Group=Graphics (KDE) - -[KLed] -ToolTip=LED Widget (KDE) -WhatsThis=A widget showing a light emitter diode -Group=Display (KDE) - -[TDEListBox] -ToolTip=Extended List Box (KDE) -WhatsThis=An improved version of the TQListBox that follows KDE settings -Group=Views (KDE) - -[TDEListView] -ToolTip=Extended List View (KDE) -WhatsThis=An improved version of the TQListView that allows certain KDE extensions -Group=Views (KDE) - -[KLineEdit] -ToolTip=Line Edit (KDE) -Group=Input (KDE) - -[TDEListViewSearchLine] -ToolTip=ListView Search Line (KDE) -Group=Input (KDE) -ConstructorArgs=(parent, 0, name) - -[TDEListViewSearchLineWidget] -ToolTip=ListView Search Line Widget (KDE) -IncludeFile=tdelistviewsearchline.h -Group=Input (KDE) -ConstructorArgs=(0, parent, name) - -[KPasswordEdit] -IncludeFile=kpassdlg.h -ToolTip=Safe Password LineEdit (KDE) -WhatsThis=A KLineEdit that is safe for prompting the user for passwords -Group=Input (KDE) - -[KProgress] -ToolTip=Progress Bar (KDE) -WhatsThis=An improved progress bar for KDE that uses TQFrame and TQRangeControl -Group=Display (KDE) - -[KPushButton] -ToolTip=Improved TQPushButton (KDE) -WhatsThis=An improved TQPushButton to follow KDE settings -Group=Buttons (KDE) - -[KKeyButton] -ToolTip=Keyboard Key Button. (KDE) -WhatsThis=A push button that looks like a keyboard key. -IncludeFile=kkeybutton.h -Group=Buttons (KDE) - -[KRestrictedLine] -ToolTip=Line Edit for restricted input (KDE) -Group=Input (KDE) - -[TDEIconButton] -IncludeFile=kicondialog.h -ToolTip=Button for selecting an icon (KDE) -Group=Buttons (KDE) - -[TDEIconView] -IncludeFile=kiconview.h -ToolTip=Extended Icon View (KDE) -WhatsThis=An improved version of the TQIconView that allows certain KDE extensions -Group=Views (KDE) - -[KIntSpinBox] -IncludeFile=knuminput.h -ToolTip=Enhanced Spinbox for Integer Values (KDE) -Group=Input (KDE) - -[KRuler] -ToolTip=Measuring Ruler Widget (KDE) -WhatsThis=A measuring ruler widget as seen in KWord for page widths and heights -Group=Display (KDE) - -[KSqueezedTextLabel] -ToolTip=A TQLabel that squeezes its text (KDE) -WhatsThis=If the text is too long to fit into the label it is divided into remaining left and right parts which are separated by three dots -ConstructorArgs=("KSqueezedTextLabel", parent, name) -Group=Display (KDE) - -[KTextBrowser] -ToolTip=Improved TQTextBrowser (KDE) -WhatsThis=An improved version of the TQTextBrowser with mail or system browser invocation support -Group=Display (KDE) - -[KTextEdit] -ToolTip=Improved TQTextEdit (KDE) -WhatsThis=An improved version of the TQTextEdit with mail or system browser invocation support -Group=Input (KDE) - -[KURLLabel] -ToolTip=URL Label (KDE) -ConstructorArgs=("KURLLabel", TQString(), parent, name) -Group=Display (KDE) - -[KURLComboRequester] -ToolTip=URL Requester (KDE) -WhatsThis=A widget holding a combobox and a pushbutton. A "file open" dialog opened when clicking on the pushbutton -IncludeFile=kurlrequester.h -Group=Input (KDE) - -[KURLRequester] -ToolTip=URL Requester (KDE) -WhatsThis=A widget holding a lineedit and a pushbutton. A "file open" dialog opened when clicking on the pushbutton -Group=Input (KDE) - -[KIntNumInput] -ToolTip=Integer Input Widget (KDE) -WhatsThis=An input widget for integer numbers, consisting of a spinbox and a slider. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KDoubleNumInput] -ToolTip=Floating Point Number Input Widget (KDE) -WhatsThis=An input widget for floating point numbers, consisting of a spinbox and a slider. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KDoubleSpinBox] -ToolTip=Enhanced Spinbox for Floating Point Values (KDE) -WhatsThis=A spinbox widget for floating point numbers. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KTimeWidget] -ToolTip=This widget can be used to display or allow user selection of time. (KDE) -IncludeFile=ktimewidget.h -Group=Input (KDE) - -[KDateTimeWidget] -ToolTip=This widget can be used to display or allow user selection of date and time. (KDE) -IncludeFile=kdatetimewidget.h -Group=Input (KDE) - -[KDateTable] -IncludeFile=kdatetbl.h -Group=Input (KDE) -ConstructorArgs=(parent, TQDate::currentDate(), name) - -[KLanguageButton] -IncludeFile=klanguagebutton.h -ToolTip=A widget for selecting a language -WhatsThis=A combobox suitable for selecting a language -Group=Input (KDE) - -[KImageFilePreview] -IncludeFile=kimagefilepreview.h -ToolTip=A widget that provides a image preview of a URL -Group=Display (KDE) -ConstructorArgs=(parent) - -[TDEActionSelector] -IncludeFile=tdeactionselector.h -ToolTip=A widget for selecting and arranging actions/objects -Group=Views (KDE) - -[KWritePermsIcon] -IncludeFile=kauthicon.h -ToolTip=Auth icon for write permission display. -ConstructorArgs=("", parent, name) -Group=Display (KDE) - -[KRootPermsIcon] -IncludeFile=kauthicon.h -ToolTip=Icon to show whether or not a user has root permissions. -Group=Display (KDE) - -[KColorPatch] -IncludeFile=kcolordialog.h -ToolTip=The KColorPatch widget is a (usually small) widget showing a selected color. -Group=Display (KDE) -ConstructorArgs=(parent) - -[KPaletteTable] -IncludeFile=kcolordialog.h -ToolTip=A color palette in table form. -Group=Display (KDE) -ConstructorArgs=(parent, 210, 16) - -[TDEABC::LdapConfigWidget] -IncludeFile=tdeabc/ldapconfigwidget.h -ToolTip=A widget which allows the user to set up LDAP connection parameters -Group=Input (KDE) -ConstructorArgs=(TDEABC::LdapConfigWidget::W_ALL, parent, name) - -[KArrowButton] -IncludeFile=karrowbutton.h -ToolTip=Draws a button which shows an arrow pointing into a certain direction. -Group=Buttons (KDE) -ConstructorArgs=(parent,Qt::UpArrow,name) - -[KAnimWidget] -IncludeFile=kanimwidget.h -ToolTip=This is a widget used to display animation using multiple individual pixmaps. -Group=Display (KDE) -ConstructorArgs=("kde",0,parent,name) - -[KValueSelector] -IncludeFile=kcolordialog.h -ToolTip=Widget for color value selection. -Group=Graphics (KDE) - -[KSeparator] -IncludeFile=kseparator.h -ToolTip=Standard horizontal or vertical separator. -Group=Display (KDE) - -[KTabWidget] -IncludeFile=ktabwidget.h -ToolTip=KDE tab widget container. -IsContainer=true -Group=Container (KDE) diff --git a/kdewidgets/maketdewidgets.cpp b/kdewidgets/maketdewidgets.cpp deleted file mode 100644 index 535ad0526..000000000 --- a/kdewidgets/maketdewidgets.cpp +++ /dev/null @@ -1,242 +0,0 @@ -/* Copyright (C) 2004-2005 ian reinhart geiser <geiseri@sourcextreme.com> */ -#include <tdeaboutdata.h> -#include <kinstance.h> -#include <tdecmdlineargs.h> -#include <tdeconfig.h> -#include <kmacroexpander.h> -#include <kdebug.h> - -#include <tqtextstream.h> -#include <tqfileinfo.h> -#include <tqfile.h> -#include <tqbuffer.h> -#include <tqimage.h> - -static const char description[] = I18N_NOOP( "Builds Qt widget plugins from an ini style description file." ); -static const char version[] = "0.2"; -static const char classHeader[] = "/**\n" - "* This file was autogenerated by maketdewidgets. Any changes will be lost!\n" - "* The generated code in this file is licensed under the same license that the\n" - "* input file.\n" - "*/\n" - "#include <tqwidgetplugin.h>\n"; -static const char classDef[] = "#ifndef EMBED_IMAGES\n" - "#include <kstandarddirs.h>\n" - "#endif\n" - "\n" - "class %PluginName : public TQWidgetPlugin\n" - "{\n" - "public:\n" - " %PluginName();\n" - " \n" - " virtual ~%PluginName();\n" - " \n" - " virtual TQStringList keys() const\n" - " {\n" - " TQStringList result;\n" - " for (WidgetInfos::ConstIterator it = m_widgets.begin(); it != m_widgets.end(); ++it)\n" - " result << it.key();\n" - " return result;\n" - " }\n" - " \n" - " virtual TQWidget *create(const TQString &key, TQWidget *parent = 0, const char *name = 0);\n" - " \n" - " virtual TQIconSet iconSet(const TQString &key) const\n" - " {\n" - "#ifdef EMBED_IMAGES\n" - " TQPixmap pix(m_widgets[key].iconSet);\n" - "#else\n" - " TQPixmap pix(locate( \"data\", \n" - " TQString::fromLatin1(\"%PluginNameLower/pics/\") + m_widgets[key].iconSet));\n" - "#endif\n" - " return TQIconSet(pix);\n" - " }\n" - " \n" - " virtual bool isContainer(const TQString &key) const { return m_widgets[key].isContainer; }\n" - " \n" - " virtual TQString group(const TQString &key) const { return m_widgets[key].group; }\n" - " \n" - " virtual TQString includeFile(const TQString &key) const { return m_widgets[key].includeFile; }\n" - " \n" - " virtual TQString toolTip(const TQString &key) const { return m_widgets[key].toolTip; }\n" - " \n" - " virtual TQString whatsThis(const TQString &key) const { return m_widgets[key].whatsThis; }\n" - "private:\n" - " struct WidgetInfo\n" - " {\n" - " TQString group;\n" - "#ifdef EMBED_IMAGES\n" - " TQPixmap iconSet;\n" - "#else\n" - " TQString iconSet;\n" - "#endif\n" - " TQString includeFile;\n" - " TQString toolTip;\n" - " TQString whatsThis;\n" - " bool isContainer;\n" - " };\n" - " typedef TQMap<TQString, WidgetInfo> WidgetInfos;\n" - " WidgetInfos m_widgets;\n" - "};\n" - "%PluginName::%PluginName()\n" - "{\n" - " WidgetInfo widget;\n"; -static const char widgetDef[] = " widget.group = TQString::fromLatin1(\"%Group\");\n" - "#ifdef EMBED_IMAGES\n" - " widget.iconSet = TQPixmap(%Pixmap);\n" - "#else\n" - " widget.iconSet = TQString::fromLatin1(\"%IconSet\");\n" - "#endif\n" - " widget.includeFile = TQString::fromLatin1(\"%IncludeFile\");\n" - " widget.toolTip = TQString::fromLatin1(\"%ToolTip\");\n" - " widget.whatsThis = TQString::fromLatin1(\"%WhatsThis\");\n" - " widget.isContainer = %IsContainer;\n" - " m_widgets.insert(TQString::fromLatin1(\"%Class\"), widget);\n"; -static const char endCtor[] = " %Init\n" - "}\n" - "%PluginName::~%PluginName()\n" - "{\n" - " %Destroy\n" - "}\n" - "TQWidget *%PluginName::create(const TQString &key, TQWidget *parent, const char *name)\n" - "{\n"; -static const char widgetCreate[] = " if (key == TQString::fromLatin1(\"%Class\"))\n" - " return new %ImplClass%ConstructorArgs;\n"; -static const char endCreate[] = " return 0;\n" - "}\n" - "KDE_Q_EXPORT_PLUGIN(%PluginName)\n"; - - -static TDECmdLineOptions options[] = - { - { "+file", I18N_NOOP( "Input file" ), 0 }, - { "o <file>", I18N_NOOP( "Output file" ), 0 }, - { "n <plugin name>", I18N_NOOP( "Name of the plugin class to generate" ), "WidgetsPlugin" }, - { "g <group>", I18N_NOOP( "Default widget group name to display in designer" ), "Custom" }, - { "p <pixmap dir>", I18N_NOOP( "Embed pixmaps from a source directory" ), 0 }, - TDECmdLineLastOption - }; - -static TQString buildWidgetDef( const TQString &name, TDEConfig &input, const TQString &group ); -static TQString buildWidgetCreate( const TQString &name, TDEConfig &input ); -static TQString buildWidgetInclude( const TQString &name, TDEConfig &input ); -static void buildFile( TQTextStream &stream, const TQString& group, const TQString& fileName, const TQString& pluginName, const TQString& iconPath ); -static TQString buildPixmap( const TQString &name, TDEConfig &input, const TQString &iconPath ); - -int main( int argc, char **argv ) { - new TDEInstance( "maketdewidgets" ); - - TDEAboutData about( "maketdewidgets", I18N_NOOP( "maketdewidgets" ), version, description, TDEAboutData::License_GPL, "(C) 2004-2005 ian reinhart geiser", 0, 0, "geiseri@kde.org" ); - about.addAuthor( "ian reinhart geiser", 0, "geiseri@kde.org" ); - TDECmdLineArgs::init( argc, argv, &about ); - TDECmdLineArgs::addCmdLineOptions( options ); - TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); - if ( args->count() < 1 ) { - args->usage(); - return ( 1 ); - } - - TQFileInfo fi( args->arg( args->count() - 1 ) ); - - TQString outputFile = args->getOption( "o" ); - TQString pluginName = args->getOption( "n" ); - TQString group = args->getOption( "g" ); - TQString iconPath = ""; - if ( args->isSet( "p" ) ) - iconPath = args->getOption( "p" ); - TQString fileName = fi.absFilePath(); - - if ( args->isSet( "o" ) ) { - TQFile output( outputFile ); - if ( output.open( IO_WriteOnly ) ) { - TQTextStream ts( &output ); - buildFile( ts, group, fileName , pluginName, iconPath ); - } - output.close(); - } else { - TQTextStream ts( stdout, IO_WriteOnly ); - buildFile( ts, group, fileName , pluginName, iconPath ); - } -} - -void buildFile( TQTextStream &ts, const TQString& group, const TQString& fileName, const TQString& pluginName, const TQString& iconPath ) { - TDEConfig input( fileName, true, false ); - input.setGroup( "Global" ); - TQMap<TQString, TQString> MainMap; - MainMap.insert( "PluginName", input.readEntry( "PluginName", pluginName ) ); - MainMap.insert( "PluginNameLower", input.readEntry( "PluginName", pluginName ).lower() ); - MainMap.insert( "Init", input.readEntry( "Init", "" ) ); - MainMap.insert( "Destroy", input.readEntry( "Destroy", "" ) ); - ts << classHeader << endl; - TQStringList includes = input.readListEntry( "Includes", ',' ); - for ( uint idx = 0; idx < includes.count(); ++idx ) - ts << "#include <" << includes[ idx ] << ">" << endl; - TQStringList classes = input.groupList(); - classes.remove( classes.find( "Global" ) ); - // Autogenerate widget includes here - for ( uint idx = 0; idx < classes.count(); ++idx ) - ts << buildWidgetInclude( classes[ idx ], input ) << endl; - // Generate embedded icons - if ( !iconPath.isEmpty() ) { - for ( uint idx = 0; idx < classes.count(); ++idx ) - ts << buildPixmap( classes[ idx ], input, iconPath ) << endl; - ts << "#define EMBED_IMAGES" << endl; - } - // Generate the main class code. - ts << KMacroExpander::expandMacros( classDef, MainMap ) << endl; - // Autogenerate widget defs here - for ( uint idx = 0; idx < classes.count(); ++idx ) - ts << buildWidgetDef( classes[ idx ], input, group ) << endl; - ts << KMacroExpander::expandMacros( endCtor, MainMap ) << endl; - // Autogenerate create code here... - for ( uint idx = 0; idx < classes.count(); ++idx ) - ts << buildWidgetCreate( classes[ idx ], input ) << endl; - ts << KMacroExpander::expandMacros( endCreate, MainMap ) << endl; - -} - -TQString buildWidgetDef( const TQString &name, TDEConfig &input, const TQString &group ) { - input.setGroup( name ); - TQMap<TQString, TQString> defMap; - defMap.insert( "Group", input.readEntry( "Group", group ).replace( "\"", "\\\"" ) ); - defMap.insert( "IconSet", input.readEntry( "IconSet", name.lower() + ".png" ).replace( ":", "_" ) ); - defMap.insert( "Pixmap", name.lower().replace( ":", "_" ) + "_xpm" ); - defMap.insert( "IncludeFile", input.readEntry( "IncludeFile", name.lower() + ".h" ).remove( ":" ) ); - defMap.insert( "ToolTip", input.readEntry( "ToolTip", name + " Widget" ).replace( "\"", "\\\"" ) ); - defMap.insert( "WhatsThis", input.readEntry( "WhatsThis", name + " Widget" ).replace( "\"", "\\\"" ) ); - defMap.insert( "IsContainer", input.readEntry( "IsContainer", "false" ) ); - defMap.insert( "Class", name ); - return KMacroExpander::expandMacros( widgetDef, defMap ); -} - -TQString buildWidgetCreate( const TQString &name, TDEConfig &input ) { - input.setGroup( name ); - TQMap<TQString, TQString> createMap; - createMap.insert( "ImplClass", input.readEntry( "ImplClass", name ) ); - createMap.insert( "ConstructorArgs", input.readEntry( "ConstructorArgs", "(parent, name)" ) ); - createMap.insert( "Class", name ); - return KMacroExpander::expandMacros( widgetCreate, createMap ); -} - -TQString buildWidgetInclude( const TQString &name, TDEConfig &input ) { - input.setGroup( name ); - return "#include <" + input.readEntry( "IncludeFile", name.lower() + ".h" ) + ">"; -} - -TQString buildPixmap( const TQString &name, TDEConfig &input, const TQString &iconPath ) { - input.setGroup( name ); - TQString cleanName = name.lower().replace( ":", "_" ); - TQString iconName = input.readEntry( "IconSet", cleanName + ".png" ); - - TQFileInfo fi( iconPath + "/" + iconName ); - TQImage pix( fi.absFilePath() ); - TQCString xpm; - TQBuffer buff( xpm ); - buff.open( IO_WriteOnly ); - TQImageIO io( &buff, "XPM" ); - io.setFileName( cleanName + "_xpm" ); - io.setImage( pix ); - io.write(); - buff.close(); - return xpm; -} diff --git a/kdewidgets/pics/CMakeLists.txt b/kdewidgets/pics/CMakeLists.txt deleted file mode 100644 index f398f174d..000000000 --- a/kdewidgets/pics/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -################################################# -# -# (C) 2010 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -##### other data ################################ - -install( FILES - klineedit.png ktextbrowser.png kpasswordedit.png kdatewidget.png - tdefontrequester.png kurlrequester.png kcombobox.png kiconview.png - kintspinbox.png kled.png ksqueezedtextlabel.png kprogress.png - kurllabel.png kruler.png tdecmodule.png kdoublespinbox.png - kdoublenuminput.png tdelistbox.png tdelistview.png kactivelabel.png - kiconbutton.png kcolorcombo.png khsselector.png kcolorbutton.png - kgradientselector.png kdualcolorbutton.png ktimewidget.png - kpushbutton.png kcharselect.png kdatepicker.png - kdialog.png keditlistbox.png tdefontcombo.png khistorycombo.png - kintnuminput.png krestrictedline.png ktextedit.png - kurlcomborequester.png kkeybutton.png kpalettetable.png - tdeactionselector.png kdatetable.png kdatetimewidget.png - DESTINATION ${DATA_INSTALL_DIR}/kdewidgets/pics ) diff --git a/kdewidgets/pics/Makefile.am b/kdewidgets/pics/Makefile.am deleted file mode 100644 index 0d4ee1e61..000000000 --- a/kdewidgets/pics/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -kdewidgetsdata_DATA = klineedit.png ktextbrowser.png kpasswordedit.png kdatewidget.png \ - tdefontrequester.png kurlrequester.png kcombobox.png kiconview.png kintspinbox.png \ - kled.png ksqueezedtextlabel.png kprogress.png kurllabel.png \ - kruler.png tdecmodule.png kdoublespinbox.png kdoublenuminput.png \ - tdelistbox.png tdelistview.png kactivelabel.png kiconbutton.png \ - kcolorcombo.png khsselector.png kcolorbutton.png \ - kgradientselector.png kdualcolorbutton.png ktimewidget.png \ - kpushbutton.png kcharselect.png kdatepicker.png \ - kdialog.png keditlistbox.png tdefontcombo.png khistorycombo.png \ - kintnuminput.png krestrictedline.png ktextedit.png \ - kurlcomborequester.png kkeybutton.png kpalettetable.png \ - tdeactionselector.png kdatetable.png kdatetimewidget.png - - -kdewidgetsdatadir = $(kde_datadir)/kdewidgets/pics - -EXTRA_DIST = $(kdewidgetsdata_DATA) diff --git a/kdewidgets/pics/kactivelabel.png b/kdewidgets/pics/kactivelabel.png Binary files differdeleted file mode 100644 index 4b935a008..000000000 --- a/kdewidgets/pics/kactivelabel.png +++ /dev/null diff --git a/kdewidgets/pics/kcharselect.png b/kdewidgets/pics/kcharselect.png Binary files differdeleted file mode 100644 index 0bdeec8ff..000000000 --- a/kdewidgets/pics/kcharselect.png +++ /dev/null diff --git a/kdewidgets/pics/kcolorbutton.png b/kdewidgets/pics/kcolorbutton.png Binary files differdeleted file mode 100644 index 14a237249..000000000 --- a/kdewidgets/pics/kcolorbutton.png +++ /dev/null diff --git a/kdewidgets/pics/kcolorcombo.png b/kdewidgets/pics/kcolorcombo.png Binary files differdeleted file mode 100644 index 7f987ea63..000000000 --- a/kdewidgets/pics/kcolorcombo.png +++ /dev/null diff --git a/kdewidgets/pics/kcombobox.png b/kdewidgets/pics/kcombobox.png Binary files differdeleted file mode 100644 index 6fa07065b..000000000 --- a/kdewidgets/pics/kcombobox.png +++ /dev/null diff --git a/kdewidgets/pics/kdatepicker.png b/kdewidgets/pics/kdatepicker.png Binary files differdeleted file mode 100644 index 4bcc64500..000000000 --- a/kdewidgets/pics/kdatepicker.png +++ /dev/null diff --git a/kdewidgets/pics/kdatetable.png b/kdewidgets/pics/kdatetable.png Binary files differdeleted file mode 100644 index f8cea6970..000000000 --- a/kdewidgets/pics/kdatetable.png +++ /dev/null diff --git a/kdewidgets/pics/kdatetimewidget.png b/kdewidgets/pics/kdatetimewidget.png Binary files differdeleted file mode 100644 index bdef7bc4f..000000000 --- a/kdewidgets/pics/kdatetimewidget.png +++ /dev/null diff --git a/kdewidgets/pics/kdatewidget.png b/kdewidgets/pics/kdatewidget.png Binary files differdeleted file mode 100644 index e2fa34682..000000000 --- a/kdewidgets/pics/kdatewidget.png +++ /dev/null diff --git a/kdewidgets/pics/kdialog.png b/kdewidgets/pics/kdialog.png Binary files differdeleted file mode 100644 index 7d62678c8..000000000 --- a/kdewidgets/pics/kdialog.png +++ /dev/null diff --git a/kdewidgets/pics/kdoublenuminput.png b/kdewidgets/pics/kdoublenuminput.png Binary files differdeleted file mode 100644 index 09b0418a4..000000000 --- a/kdewidgets/pics/kdoublenuminput.png +++ /dev/null diff --git a/kdewidgets/pics/kdoublespinbox.png b/kdewidgets/pics/kdoublespinbox.png Binary files differdeleted file mode 100644 index 09b0418a4..000000000 --- a/kdewidgets/pics/kdoublespinbox.png +++ /dev/null diff --git a/kdewidgets/pics/kdualcolorbutton.png b/kdewidgets/pics/kdualcolorbutton.png Binary files differdeleted file mode 100644 index 1d67cc4c6..000000000 --- a/kdewidgets/pics/kdualcolorbutton.png +++ /dev/null diff --git a/kdewidgets/pics/keditlistbox.png b/kdewidgets/pics/keditlistbox.png Binary files differdeleted file mode 100644 index 67fd7eac0..000000000 --- a/kdewidgets/pics/keditlistbox.png +++ /dev/null diff --git a/kdewidgets/pics/kgradientselector.png b/kdewidgets/pics/kgradientselector.png Binary files differdeleted file mode 100644 index f022d63cc..000000000 --- a/kdewidgets/pics/kgradientselector.png +++ /dev/null diff --git a/kdewidgets/pics/khistorycombo.png b/kdewidgets/pics/khistorycombo.png Binary files differdeleted file mode 100644 index 9d2dd22e4..000000000 --- a/kdewidgets/pics/khistorycombo.png +++ /dev/null diff --git a/kdewidgets/pics/khsselector.png b/kdewidgets/pics/khsselector.png Binary files differdeleted file mode 100644 index aabb41a35..000000000 --- a/kdewidgets/pics/khsselector.png +++ /dev/null diff --git a/kdewidgets/pics/kiconbutton.png b/kdewidgets/pics/kiconbutton.png Binary files differdeleted file mode 100644 index 0a6028b77..000000000 --- a/kdewidgets/pics/kiconbutton.png +++ /dev/null diff --git a/kdewidgets/pics/kiconview.png b/kdewidgets/pics/kiconview.png Binary files differdeleted file mode 100644 index b4a7db351..000000000 --- a/kdewidgets/pics/kiconview.png +++ /dev/null diff --git a/kdewidgets/pics/kintnuminput.png b/kdewidgets/pics/kintnuminput.png Binary files differdeleted file mode 100644 index bdfeef776..000000000 --- a/kdewidgets/pics/kintnuminput.png +++ /dev/null diff --git a/kdewidgets/pics/kintspinbox.png b/kdewidgets/pics/kintspinbox.png Binary files differdeleted file mode 100644 index a095e2cc4..000000000 --- a/kdewidgets/pics/kintspinbox.png +++ /dev/null diff --git a/kdewidgets/pics/kkeybutton.png b/kdewidgets/pics/kkeybutton.png Binary files differdeleted file mode 100644 index c5a9a1e09..000000000 --- a/kdewidgets/pics/kkeybutton.png +++ /dev/null diff --git a/kdewidgets/pics/kled.png b/kdewidgets/pics/kled.png Binary files differdeleted file mode 100644 index cf998e189..000000000 --- a/kdewidgets/pics/kled.png +++ /dev/null diff --git a/kdewidgets/pics/klineedit.png b/kdewidgets/pics/klineedit.png Binary files differdeleted file mode 100644 index 81d313913..000000000 --- a/kdewidgets/pics/klineedit.png +++ /dev/null diff --git a/kdewidgets/pics/kpalettetable.png b/kdewidgets/pics/kpalettetable.png Binary files differdeleted file mode 100644 index 8964305fd..000000000 --- a/kdewidgets/pics/kpalettetable.png +++ /dev/null diff --git a/kdewidgets/pics/kpasswordedit.png b/kdewidgets/pics/kpasswordedit.png Binary files differdeleted file mode 100644 index e783b2092..000000000 --- a/kdewidgets/pics/kpasswordedit.png +++ /dev/null diff --git a/kdewidgets/pics/kprogress.png b/kdewidgets/pics/kprogress.png Binary files differdeleted file mode 100644 index 57a33db0f..000000000 --- a/kdewidgets/pics/kprogress.png +++ /dev/null diff --git a/kdewidgets/pics/kpushbutton.png b/kdewidgets/pics/kpushbutton.png Binary files differdeleted file mode 100644 index f1b30dfa3..000000000 --- a/kdewidgets/pics/kpushbutton.png +++ /dev/null diff --git a/kdewidgets/pics/krestrictedline.png b/kdewidgets/pics/krestrictedline.png Binary files differdeleted file mode 100644 index 0f7eb9ad3..000000000 --- a/kdewidgets/pics/krestrictedline.png +++ /dev/null diff --git a/kdewidgets/pics/kruler.png b/kdewidgets/pics/kruler.png Binary files differdeleted file mode 100644 index 6e696751b..000000000 --- a/kdewidgets/pics/kruler.png +++ /dev/null diff --git a/kdewidgets/pics/ksqueezedtextlabel.png b/kdewidgets/pics/ksqueezedtextlabel.png Binary files differdeleted file mode 100644 index d30f94645..000000000 --- a/kdewidgets/pics/ksqueezedtextlabel.png +++ /dev/null diff --git a/kdewidgets/pics/ktextbrowser.png b/kdewidgets/pics/ktextbrowser.png Binary files differdeleted file mode 100644 index b9b0a64d1..000000000 --- a/kdewidgets/pics/ktextbrowser.png +++ /dev/null diff --git a/kdewidgets/pics/ktextedit.png b/kdewidgets/pics/ktextedit.png Binary files differdeleted file mode 100644 index 7325b3dd1..000000000 --- a/kdewidgets/pics/ktextedit.png +++ /dev/null diff --git a/kdewidgets/pics/ktimewidget.png b/kdewidgets/pics/ktimewidget.png Binary files differdeleted file mode 100644 index 1b0d79afe..000000000 --- a/kdewidgets/pics/ktimewidget.png +++ /dev/null diff --git a/kdewidgets/pics/kurlcomborequester.png b/kdewidgets/pics/kurlcomborequester.png Binary files differdeleted file mode 100644 index f23c6bb6c..000000000 --- a/kdewidgets/pics/kurlcomborequester.png +++ /dev/null diff --git a/kdewidgets/pics/kurllabel.png b/kdewidgets/pics/kurllabel.png Binary files differdeleted file mode 100644 index 055cdfce5..000000000 --- a/kdewidgets/pics/kurllabel.png +++ /dev/null diff --git a/kdewidgets/pics/kurlrequester.png b/kdewidgets/pics/kurlrequester.png Binary files differdeleted file mode 100644 index 6885167de..000000000 --- a/kdewidgets/pics/kurlrequester.png +++ /dev/null diff --git a/kdewidgets/pics/tdeactionselector.png b/kdewidgets/pics/tdeactionselector.png Binary files differdeleted file mode 100644 index acfdce496..000000000 --- a/kdewidgets/pics/tdeactionselector.png +++ /dev/null diff --git a/kdewidgets/pics/tdecmodule.png b/kdewidgets/pics/tdecmodule.png Binary files differdeleted file mode 100644 index 1a6a9dc17..000000000 --- a/kdewidgets/pics/tdecmodule.png +++ /dev/null diff --git a/kdewidgets/pics/tdefontcombo.png b/kdewidgets/pics/tdefontcombo.png Binary files differdeleted file mode 100644 index 87835d6ce..000000000 --- a/kdewidgets/pics/tdefontcombo.png +++ /dev/null diff --git a/kdewidgets/pics/tdefontrequester.png b/kdewidgets/pics/tdefontrequester.png Binary files differdeleted file mode 100644 index a01f4d692..000000000 --- a/kdewidgets/pics/tdefontrequester.png +++ /dev/null diff --git a/kdewidgets/pics/tdelistbox.png b/kdewidgets/pics/tdelistbox.png Binary files differdeleted file mode 100644 index f7405b39f..000000000 --- a/kdewidgets/pics/tdelistbox.png +++ /dev/null diff --git a/kdewidgets/pics/tdelistview.png b/kdewidgets/pics/tdelistview.png Binary files differdeleted file mode 100644 index 932d910c8..000000000 --- a/kdewidgets/pics/tdelistview.png +++ /dev/null diff --git a/kdewidgets/tests/Makefile.am b/kdewidgets/tests/Makefile.am deleted file mode 100644 index 220f8afac..000000000 --- a/kdewidgets/tests/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ - -# This file is part of the KDE libraries -# Copyright (C) 1997 Matthias Kalle Dalheimer (kalle@kde.org) -# (C) 1997 Stephan Kulow (coolo@kde.org) - -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Library General Public -# License as published by the Free Software Foundation; either -# version 2 of the License, or (at your option) any later version. - -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Library General Public License for more details. - -# You should have received a copy of the GNU General Public License -# along with this library; see the file COPYING. If not, write to -# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -# Boston, MA 02110-1301, USA. - -check-local: testwithpixmaps.cpp testkde.cpp -# Broken and not informative enough about the changes -# md5sum -c $(srcdir)/sums - -testwithpixmaps.cpp: $(srcdir)/test.widgets - ../maketdewidgets -o testwithpixmaps.cpp -p $(top_srcdir)/kdewidgets/pics $(srcdir)/test.widgets -testkde.cpp: $(srcdir)/test.widgets - ../maketdewidgets -o testkde.cpp $(srcdir)/test.widgets - -CLEANFILES = testwithpixmaps.cpp testkde.cpp - diff --git a/kdewidgets/tests/README b/kdewidgets/tests/README deleted file mode 100644 index 5d97aa029..000000000 --- a/kdewidgets/tests/README +++ /dev/null @@ -1,6 +0,0 @@ -These are the tests for the current maketdewidgets. - -Currently there are two modes generated, and the checksums checked. -These files are correct and build plugins that are functionally -just as TrollTech wants them for designer. If at any time the -code is changed then these md5 sums should be updated. diff --git a/kdewidgets/tests/sums b/kdewidgets/tests/sums deleted file mode 100644 index 8b1f80899..000000000 --- a/kdewidgets/tests/sums +++ /dev/null @@ -1,2 +0,0 @@ -ff629a98965347ed3303a2c70f35af51 testwithpixmaps.cpp -f736575862f21dc175e1778bc159afbf testkde.cpp diff --git a/kdewidgets/tests/test.widgets b/kdewidgets/tests/test.widgets deleted file mode 100644 index b1ee195f2..000000000 --- a/kdewidgets/tests/test.widgets +++ /dev/null @@ -1,267 +0,0 @@ -[Global] -PluginName=KDEWidgets -Includes=kinstance.h,classpreviews.h -Init=new TDEInstance("kdewidgets"); - -[KActiveLabel] -ToolTip=Active Label (KDE) -WhatsThis=A label with support for selection and clickable links -Group=Display (KDE) - -[KCharSelect] -ToolTip=Character Selection Widget (KDE) -WhatsThis=A widget that allows selection a character out ot a table -Group=Graphics (KDE) - -[KColorButton] -ToolTip=Color Chooser Button (KDE) -WhatsThis=A button that allows selecting a color -Group=Graphics (KDE) - -[KColorCombo] -ToolTip=Color Combo Box (KDE) -Group=Graphics (KDE) - -[KComboBox] -ToolTip=Combo Box (KDE) -Group=Input (KDE) - -[TDECModule] -ToolTip=KControl Center Module (KDE) -IsContainer=true -Group=Container (KDE) - -[KDateWidget] -ToolTip=Date preview (KDE) -Group=Input (KDE) - -[KDatePicker] -ToolTip=A date selection widget (KDE) -WhatsThis=Provides a widget for calendar date input -ConstructorArgs=(parent, QDate::currentDate(), name) -Group=Input (KDE) - -[KDialog] -IsContainer=true -ImplClass=KDialogPreview -ToolTip=Class for simple Dialogs (KDE) -Group=Container (KDE) - -[KDualColorButton] -ToolTip=A widget for selecting two related colors (KDE) -Group=Graphics (KDE) - -[KEditListBox] -ToolTip=Fullfeatured edit box with buttons (KDE) -Group=Views (KDE) - -[TDEFontCombo] -ToolTip=Font Combo Box (KDE) -WhatsThis=A QCombo Box showing the installed system fonts (with preview) -Group=Input (KDE) - -[TDEFontChooser] -IncludeFile=tdefontdialog.h -IconSet=tdefontcombo.png -ToolTip=Font Chooser (KDE) -WhatsThis=A font type, size and style selection widget complete with preview -Group=Input (KDE) - -[TDEFontRequester] -IncludeFile=tdefontrequester.h -ToolTip=Font Requester (KDE) -WhatsThis=A compact font selection and preview widget -Group=Input (KDE) - -[KGradientSelector] -IncludeFile=tdeselect.h -WhatsThis=A widget that allows the user to select two colors to form a gradient -Group=Graphics (KDE) - -[KHistoryCombo] -IncludeFile=kcombobox.h -ToolTip=A combobox for offering a history and completion (KDE) -WhatsThis=A combobox which implements a history like a unix shell -Group=Input (KDE) - -[KHSSelector] -IncludeFile=kcolordialog.h -ToolTip=Widget for Hue/Saturation selection (KDE) -Group=Graphics (KDE) - -[KLed] -ToolTip=LED Widget (KDE) -WhatsThis=A widget showing a light emitter diode -Group=Display (KDE) - -[TDEListBox] -ToolTip=Extended List Box (KDE) -WhatsThis=An improved version of the QListBox that follows KDE settings -Group=Views (KDE) - -[TDEListView] -ToolTip=Extended List View (KDE) -WhatsThis=An improved version of the QListView that allows certain KDE extensions -Group=Views (KDE) - -[KLineEdit] -ToolTip=Line Edit (KDE) -Group=Input (KDE) - -[KPasswordEdit] -IncludeFile=kpassdlg.h -ToolTip=Safe Password LineEdit (KDE) -WhatsThis=A KLineEdit that is safe for prompting the user for passwords -Group=Input (KDE) - -[KProgress] -ToolTip=Progress Bar (KDE) -WhatsThis=An improved progress bar for KDE that uses QFrame and QRangeControl -Group=Display (KDE) - -[KPushButton] -ToolTip=Improved QPushButton (KDE) -WhatsThis=An improved QPushButton to follow KDE settings -Group=Buttons (KDE) - -[KKeyButton] -ToolTip=Keyboard Key Button. (KDE) -WhatsThis=A push button that looks like a keyboard key. -IncludeFile=kkeybutton.h -Group=Buttons (KDE) - -[KRestrictedLine] -ToolTip=Line Edit for restricted input (KDE) -Group=Input (KDE) - -[TDEIconButton] -IncludeFile=kicondialog.h -ToolTip=Button for selecting an icon (KDE) -Group=Buttons (KDE) - -[TDEIconView] -IncludeFile=kiconview.h -ToolTip=Extended Icon View (KDE) -WhatsThis=An improved version of the QIconView that allows certain KDE extensions -Group=Views (KDE) - -[KIntSpinBox] -IncludeFile=knuminput.h -ToolTip=Enhanced Spinbox for Integer Values (KDE) -Group=Input (KDE) - -[KRuler] -ToolTip=Measuring Ruler Widget (KDE) -WhatsThis=A measuring ruler widget as seen in KWord for page widths and heights -Group=Display (KDE) - -[KSqueezedTextLabel] -ToolTip=A QLabel that squeezes its text (KDE) -WhatsThis=If the text is too long to fit into the label it is divided into remaining left and right parts which are separated by three dots -ConstructorArgs=("KSqueezedTextLabel", parent, name) -Group=Display (KDE) - -[KTextBrowser] -ToolTip=Improved QTextBrowser (KDE) -WhatsThis=An improved version of the QTextBrowser with mail or system browser invocation support -Group=Display (KDE) - -[KTextEdit] -ToolTip=Improved QTextEdit (KDE) -WhatsThis=An improved version of the QTextEdit with mail or system browser invocation support -Group=Input (KDE) - -[KURLLabel] -ToolTip=URL Label (KDE) -ConstructorArgs=("KURLLabel", QString::null, parent, name) -Group=Display (KDE) - -[KURLComboRequester] -ToolTip=URL Requester (KDE) -WhatsThis=A widget holding a combobox and a pushbutton. A "file open" dialog opened when clicking on the pushbutton -IncludeFile=kurlrequester.h -Group=Input (KDE) - -[KURLRequester] -ToolTip=URL Requester (KDE) -WhatsThis=A widget holding a lineedit and a pushbutton. A "file open" dialog opened when clicking on the pushbutton -Group=Input (KDE) - -[KIntNumInput] -ToolTip=Integer Input Widget (KDE) -WhatsThis=An input widget for integer numbers, consisting of a spinbox and a slider. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KDoubleNumInput] -ToolTip=Floating Point Number Input Widget (KDE) -WhatsThis=An input widget for floating point numbers, consisting of a spinbox and a slider. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KDoubleSpinBox] -ToolTip=Enhanced Spinbox for Floating Point Values (KDE) -WhatsThis=A spinbox widget for floating point numbers. -IncludeFile=knuminput.h -Group=Input (KDE) - -[KTimeWidget] -ToolTip=This widget can be used to display or allow user selection of time. (KDE) -IncludeFile=ktimewidget.h -Group=Input (KDE) - -[KDateTimeWidget] -ToolTip=This widget can be used to display or allow user selection of date and time. (KDE) -IncludeFile=kdatetimewidget.h -Group=Input (KDE) - -[KDateTable] -IncludeFile=kdatetbl.h -Group=Input (KDE) -ConstructorArgs=(parent, QDate::currentDate(), name) - -[KLanguageButton] -IncludeFile=klanguagebutton.h -ToolTip=A widget for selecting a language -WhatsThis=A combobox suitable for selecting a language -Group=Input (KDE) - -[KImageFilePreview] -IncludeFile=kimagefilepreview.h -ToolTip=A widget that provides a image preview of a URL -Group=Display (KDE) -ConstructorArgs=(parent) - -[TDEActionSelector] -IncludeFile=tdeactionselector.h -ToolTip=A widget for selecting and arranging actions/objects -Group=Views (KDE) - -[KWritePermsIcon] -IncludeFile=kauthicon.h -ToolTip=Auth icon for write permission display. -ConstructorArgs=("", parent, name) -Group=Display (KDE) - -[KRootPermsIcon] -IncludeFile=kauthicon.h -ToolTip=Icon to show whether or not a user has root permissions. -Group=Display (KDE) - -[KColorPatch] -IncludeFile=kcolordialog.h -ToolTip=The KColorPatch widget is a (usually small) widget showing a selected color. -Group=Display (KDE) -ConstructorArgs=(parent) - -[KPaletteTable] -IncludeFile=kcolordialog.h -ToolTip=A color palette in table form. -Group=Display (KDE) -ConstructorArgs=(parent, 210, 16) - -[TDEABC::AddressLineEdit] -IncludeFile=tdeabc/addresslineedit.h -ToolTip=A lineedit with LDAP and tdeabc completion. -Group=Input (KDE) -ConstructorArgs=(parent, true, name) |