summaryrefslogtreecommitdiffstats
path: root/charselectapplet
diff options
context:
space:
mode:
Diffstat (limited to 'charselectapplet')
-rw-r--r--charselectapplet/charselectapplet.cpp16
-rw-r--r--charselectapplet/charselectapplet.h6
2 files changed, 11 insertions, 11 deletions
diff --git a/charselectapplet/charselectapplet.cpp b/charselectapplet/charselectapplet.cpp
index 047b3f2..4f41c90 100644
--- a/charselectapplet/charselectapplet.cpp
+++ b/charselectapplet/charselectapplet.cpp
@@ -41,12 +41,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
extern "C"
{
- KDE_EXPORT KPanelApplet* init(TQWidget *tqparent, const TQString& configFile)
+ KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
KGlobal::locale()->insertCatalogue("kcharselectapplet");
return new CharSelectApplet(configFile, KPanelApplet::Normal,
KPanelApplet::About | KPanelApplet::Preferences,
- tqparent, "kcharselectapplet");
+ parent, "kcharselectapplet");
}
}
@@ -55,8 +55,8 @@ static int cell_height = 16;
static int char_count = 0;
CharSelectApplet::CharSelectApplet(const TQString& configFile, Type type, int actions,
- TQWidget *tqparent, const char *name)
- : KPanelApplet(configFile, type, actions, tqparent, name),
+ TQWidget *parent, const char *name)
+ : KPanelApplet(configFile, type, actions, parent, name),
_aboutData(0), _configDialog(0)
{
// read configuration
@@ -151,8 +151,8 @@ void CharSelectApplet::about()
dialog.exec();
}
-CharTable::CharTable(TQWidget* tqparent, const char* name)
- : TQFrame(tqparent, name), _rows(2), _cols(2),
+CharTable::CharTable(TQWidget* parent, const char* name)
+ : TQFrame(parent, name), _rows(2), _cols(2),
_activeRow(-1), _activeCol(-1),
_cWidth(cell_width), _cHeight(cell_height)
{
@@ -336,8 +336,8 @@ void CharTable::clearCell()
}
-ConfigDialog::ConfigDialog(TQWidget* tqparent, const char* name)
- : KDialogBase(tqparent, name, true, i18n("Configuration"),
+ConfigDialog::ConfigDialog(TQWidget* parent, const char* name)
+ : KDialogBase(parent, name, true, i18n("Configuration"),
Ok | Cancel, Ok, true)
{
TQVBox *page = makeVBoxMainWidget();
diff --git a/charselectapplet/charselectapplet.h b/charselectapplet/charselectapplet.h
index 7145077..0aad05a 100644
--- a/charselectapplet/charselectapplet.h
+++ b/charselectapplet/charselectapplet.h
@@ -39,7 +39,7 @@ class ConfigDialog : public KDialogBase
TQ_OBJECT
public:
- ConfigDialog(TQWidget* tqparent = 0, const char* name = 0);
+ ConfigDialog(TQWidget* parent = 0, const char* name = 0);
void setCharacters(const TQString& s) { _characterInput->setText(s); }
void setCellWidth(int w) { _widthSpinBox->setValue(w); }
@@ -61,7 +61,7 @@ class CharTable : public TQFrame
TQ_OBJECT
public:
- CharTable(TQWidget* tqparent = 0, const char* name = 0);
+ CharTable(TQWidget* parent = 0, const char* name = 0);
void setRowsAndColumns(int, int);
@@ -101,7 +101,7 @@ class CharSelectApplet : public KPanelApplet
public:
CharSelectApplet(const TQString& configFile, Type t = Stretch, int actions = 0,
- TQWidget *tqparent = 0, const char *name = 0);
+ TQWidget *parent = 0, const char *name = 0);
int widthForHeight(int height) const;
int heightForWidth(int width) const;