summaryrefslogtreecommitdiffstats
path: root/kcharselect
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:09:37 +0900
commitaf0b8f5d1e5e00b1f3b48658d89876c2df28e71c (patch)
tree11e4cc0bc31cd049daeb734b4d9e0ee00fac9eab /kcharselect
parent09fd0dead9b5dcb29dde24957ae8c07269c49aa1 (diff)
downloadtdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.tar.gz
tdeutils-af0b8f5d1e5e00b1f3b48658d89876c2df28e71c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcharselect')
-rw-r--r--kcharselect/kcharselectdia.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kcharselect/kcharselectdia.cpp b/kcharselect/kcharselectdia.cpp
index 8f8b2a9..f3caed8 100644
--- a/kcharselect/kcharselectdia.cpp
+++ b/kcharselect/kcharselectdia.cpp
@@ -36,12 +36,12 @@ KCharSelectDia::KCharSelectDia(TQWidget *parent,const char *name,
// Add character selection widget from library tdeui
charSelect = new KCharSelect(mainWidget,"",vFont,vChr,_tableNum);
charSelect->resize(charSelect->sizeHint());
- connect(charSelect,TQT_SIGNAL(highlighted(const TQChar &)),
- TQT_SLOT(charChanged(const TQChar &)));
- connect(charSelect,TQT_SIGNAL(activated(const TQChar &)),
- TQT_SLOT(add(const TQChar &)));
- connect(charSelect,TQT_SIGNAL(fontChanged(const TQString &)),
- TQT_SLOT(fontSelected(const TQString &)));
+ connect(charSelect,TQ_SIGNAL(highlighted(const TQChar &)),
+ TQ_SLOT(charChanged(const TQChar &)));
+ connect(charSelect,TQ_SIGNAL(activated(const TQChar &)),
+ TQ_SLOT(add(const TQChar &)));
+ connect(charSelect,TQ_SIGNAL(fontChanged(const TQString &)),
+ TQ_SLOT(fontSelected(const TQString &)));
grid->addMultiCellWidget(charSelect, 0, 0, 0, 3);
// Build line editor
@@ -52,13 +52,13 @@ KCharSelectDia::KCharSelectDia(TQWidget *parent,const char *name,
font.setFamily( vFont );
lined->setFont( font );
- connect(lined,TQT_SIGNAL(textChanged(const TQString &)),
- TQT_SLOT(lineEditChanged()));
+ connect(lined,TQ_SIGNAL(textChanged(const TQString &)),
+ TQ_SLOT(lineEditChanged()));
grid->addMultiCellWidget(lined, 1, 1, 0, 3);
// Build some buttons
bHelp = new KPushButton( KStdGuiItem::help(), mainWidget );
- connect(bHelp,TQT_SIGNAL(clicked()),this,TQT_SLOT(help()));
+ connect(bHelp,TQ_SIGNAL(clicked()),this,TQ_SLOT(help()));
bHelp->setFixedSize( bHelp->sizeHint() );
grid->addWidget( bHelp, 2, 0 );
@@ -66,39 +66,39 @@ KCharSelectDia::KCharSelectDia(TQWidget *parent,const char *name,
grid->addItem( space, 2, 1 );
bClear = new KPushButton( KStdGuiItem::clear(), mainWidget );
- connect(bClear,TQT_SIGNAL(clicked()),this,TQT_SLOT(clear()));
+ connect(bClear,TQ_SIGNAL(clicked()),this,TQ_SLOT(clear()));
bClear->setFixedSize( bClear->sizeHint() );
grid->addWidget( bClear, 2, 2 );
bClip = new KPushButton( KGuiItem( i18n( "&To Clipboard" ),
"edit-copy" ), mainWidget );
bClip->setFixedSize( bClip->sizeHint() );
- connect(bClip,TQT_SIGNAL(clicked()),this,TQT_SLOT(toClip()));
+ connect(bClip,TQ_SIGNAL(clicked()),this,TQ_SLOT(toClip()));
grid->addWidget( bClip, 2, 3 );
// Build menu
- KStdAction::quit( this, TQT_SLOT(_exit()), actionCollection() );
+ KStdAction::quit( this, TQ_SLOT(_exit()), actionCollection() );
new TDEAction(i18n("&To Clipboard"), "edit-copy",
- TDEStdAccel::shortcut(TDEStdAccel::Copy), this, TQT_SLOT(toClip()), actionCollection(), "copy_clip" );
+ TDEStdAccel::shortcut(TDEStdAccel::Copy), this, TQ_SLOT(toClip()), actionCollection(), "copy_clip" );
(void)new TDEAction(i18n("To Clipboard &UTF-8"), 0, this,
- TQT_SLOT(toClipUTF8()), actionCollection(), "copy_utf_8" );
+ TQ_SLOT(toClipUTF8()), actionCollection(), "copy_utf_8" );
(void)new TDEAction(i18n("To Clipboard &HTML"), 0, this,
- TQT_SLOT(toClipHTML()), actionCollection(), "copy_html" );
+ TQ_SLOT(toClipHTML()), actionCollection(), "copy_html" );
new TDEAction(i18n("&From Clipboard"), "edit-paste",
- TDEStdAccel::shortcut(TDEStdAccel::Paste), this, TQT_SLOT(fromClip()), actionCollection(), "from_clip" );
+ TDEStdAccel::shortcut(TDEStdAccel::Paste), this, TQ_SLOT(fromClip()), actionCollection(), "from_clip" );
(void)new TDEAction(i18n("From Clipboard UTF-8"), 0, this,
- TQT_SLOT(fromClipUTF8()), actionCollection(), "from_clip_utf8" );
+ TQ_SLOT(fromClipUTF8()), actionCollection(), "from_clip_utf8" );
i18n("From Clipboard HTML"); // Intended for future use
- KStdAction::clear(this, TQT_SLOT(clear()), actionCollection(), "clear");
+ KStdAction::clear(this, TQ_SLOT(clear()), actionCollection(), "clear");
(void)new TDEAction(i18n("&Flip"), 0, this,
- TQT_SLOT(flipText()), actionCollection(), "flip" );
+ TQ_SLOT(flipText()), actionCollection(), "flip" );
(void)new TDEAction(i18n("&Alignment"), 0, this,
- TQT_SLOT(toggleEntryDirection()), actionCollection(), "alignment" );
+ TQ_SLOT(toggleEntryDirection()), actionCollection(), "alignment" );
charSelect->setFocus();