You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdewebdev/kommander/editor/choosewidgetimpl.h

47 lines
1.6 KiB

/***************************************************************************
choosewidgetimpl.h - dialog to choose widget
-------------------
begin : Thu 13 Apr 2004
copyright : (C) 2000 Michal Rudolf <mrudolf@tdewebdev.org>
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef _HAVE_CHOOSEWIDGETIMPL_H_
#define _HAVE_CHOOSEWIDGETIMPL_H_
#include "choosewidget.h"
class ChooseWidget : public ChooseWidgetBase
{
Q_OBJECT
TQ_OBJECT
public:
ChooseWidget(TQWidget*, const char* = 0, bool=true);
~ChooseWidget();
// Put current widget and all of its tqchildren in a tree
void setWidget(TQWidget *);
// Return current widget
TQString selection();
public slots:
// Filter text changed - find matching widget
void textChanged(const TQString&);
// Double clicked on listviwew
void selectedItem(TQListViewItem *);
private:
// Check if given widget is a Kommander widget
bool isKommanderWidget(TQObject* w);
};
#endif