summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/plugin.cpp')
-rw-r--r--kommander/widgets/plugin.cpp70
1 files changed, 35 insertions, 35 deletions
diff --git a/kommander/widgets/plugin.cpp b/kommander/widgets/plugin.cpp
index 020ae6da..009da398 100644
--- a/kommander/widgets/plugin.cpp
+++ b/kommander/widgets/plugin.cpp
@@ -57,7 +57,7 @@ class KomStdPlugin : public KommanderPlugin
{
public:
KomStdPlugin();
- virtual TQWidget *create( const TQString &key, TQWidget *parent = 0, const char *name = 0 );
+ virtual TQWidget *create( const TQString &key, TQWidget *tqparent = 0, const char *name = 0 );
};
KomStdPlugin::KomStdPlugin()
@@ -97,41 +97,41 @@ KomStdPlugin::KomStdPlugin()
addWidget("AboutDialog", group, "", new TQIconSet(KGlobal::iconLoader()->loadIcon("kommander", KIcon::NoGroup, KIcon::SizeMedium)));
}
-TQWidget *KomStdPlugin::create( const TQString &key, TQWidget *parent, const char *name )
+TQWidget *KomStdPlugin::create( const TQString &key, TQWidget *tqparent, const char *name )
{
- if (key == "ButtonGroup") return new ButtonGroup(parent, name);
- else if (key == "CheckBox") return new CheckBox(parent, name);
- else if (key == "CloseButton") return new CloseButton(parent, name);
- else if (key == "ComboBox") return new ComboBox(parent, name);
- else if (key == "Dialog") return new Dialog(parent, name);
- else if (key == "ExecButton") return new ExecButton(parent, name);
- else if (key == "FileSelector") return new FileSelector(parent, name);
- else if (key == "GroupBox") return new GroupBox(parent, name);
- else if (key == "Konsole") return new Konsole(parent, name);
- else if (key == "Label") return new Label(parent, name);
- else if (key == "LineEdit") return new LineEdit(parent, name);
- else if (key == "ListBox") return new ListBox(parent, name);
- else if (key == "PixmapLabel") return new PixmapLabel(parent, name);
- else if (key == "ProgressBar") return new ProgressBar(parent, name);
- else if (key == "RadioButton") return new RadioButton(parent, name);
- else if (key == "RichTextEditor") return new RichTextEditor(parent, name);
- else if (key == "ScriptObject") return new ScriptObject(parent, name);
- else if (key == "Slider") return new Slider(parent, name);
- else if (key == "SpinBoxInt") return new SpinBoxInt(parent, name);
- else if (key == "StatusBar") return new StatusBar(parent, name);
- else if (key == "SubDialog") return new SubDialog(parent, name);
- else if (key == "Table") return new Table(parent, name);
- else if (key == "TabWidget") return new TabWidget(parent, name);
- else if (key == "ToolBox") return new ToolBox(parent, name);
- else if (key == "TextBrowser") return new TextBrowser(parent, name);
- else if (key == "TextEdit") return new TextEdit(parent, name);
- else if (key == "Timer") return new Timer(parent, name);
- else if (key == "TreeWidget") return new TreeWidget(parent, name);
- else if (key == "Wizard") return new Wizard(parent, name);
- else if (key == "DatePicker") return new DatePicker(parent, name);
- else if (key == "PopupMenu") return new PopupMenu(parent, name);
- else if (key == "FontDialog") return new FontDialog(parent, name);
- else if (key == "AboutDialog") return new AboutDialog(parent, name);
+ if (key == "ButtonGroup") return new ButtonGroup(tqparent, name);
+ else if (key == "CheckBox") return new CheckBox(tqparent, name);
+ else if (key == "CloseButton") return new CloseButton(tqparent, name);
+ else if (key == "ComboBox") return new ComboBox(tqparent, name);
+ else if (key == "Dialog") return new Dialog(tqparent, name);
+ else if (key == "ExecButton") return new ExecButton(tqparent, name);
+ else if (key == "FileSelector") return new FileSelector(tqparent, name);
+ else if (key == "GroupBox") return new GroupBox(tqparent, name);
+ else if (key == "Konsole") return new Konsole(tqparent, name);
+ else if (key == "Label") return new Label(tqparent, name);
+ else if (key == "LineEdit") return new LineEdit(tqparent, name);
+ else if (key == "ListBox") return new ListBox(tqparent, name);
+ else if (key == "PixmapLabel") return new PixmapLabel(tqparent, name);
+ else if (key == "ProgressBar") return new ProgressBar(tqparent, name);
+ else if (key == "RadioButton") return new RadioButton(tqparent, name);
+ else if (key == "RichTextEditor") return new RichTextEditor(tqparent, name);
+ else if (key == "ScriptObject") return new ScriptObject(tqparent, name);
+ else if (key == "Slider") return new Slider(tqparent, name);
+ else if (key == "SpinBoxInt") return new SpinBoxInt(tqparent, name);
+ else if (key == "StatusBar") return new StatusBar(tqparent, name);
+ else if (key == "SubDialog") return new SubDialog(tqparent, name);
+ else if (key == "Table") return new Table(tqparent, name);
+ else if (key == "TabWidget") return new TabWidget(tqparent, name);
+ else if (key == "ToolBox") return new ToolBox(tqparent, name);
+ else if (key == "TextBrowser") return new TextBrowser(tqparent, name);
+ else if (key == "TextEdit") return new TextEdit(tqparent, name);
+ else if (key == "Timer") return new Timer(tqparent, name);
+ else if (key == "TreeWidget") return new TreeWidget(tqparent, name);
+ else if (key == "Wizard") return new Wizard(tqparent, name);
+ else if (key == "DatePicker") return new DatePicker(tqparent, name);
+ else if (key == "PopupMenu") return new PopupMenu(tqparent, name);
+ else if (key == "FontDialog") return new FontDialog(tqparent, name);
+ else if (key == "AboutDialog") return new AboutDialog(tqparent, name);
else return 0;
}