diff options
Diffstat (limited to 'konversation/src/channeloptionsdialog.cpp')
| -rw-r--r-- | konversation/src/channeloptionsdialog.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/konversation/src/channeloptionsdialog.cpp b/konversation/src/channeloptionsdialog.cpp index 5681872..e6a6ed6 100644 --- a/konversation/src/channeloptionsdialog.cpp +++ b/konversation/src/channeloptionsdialog.cpp @@ -35,7 +35,7 @@ namespace Konversation { ChannelOptionsDialog::ChannelOptionsDialog(Channel *channel) - : KDialogBase(channel, "channelOptions", false, i18n("Channel Settings for %1").arg(channel->getName()), Ok|Cancel, Ok) + : KDialogBase(channel, "channelOptions", false, i18n("Channel Settings for %1").tqarg(channel->getName()), Ok|Cancel, Ok) { Q_ASSERT(channel); m_widget = new ChannelOptionsUI(this); @@ -124,16 +124,16 @@ namespace Konversation if(tmp.isEmpty() && plus) { - m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("+").arg(modeString[0]).arg(modeString.mid(1))); + m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("+").tqarg(modeString[0]).tqarg(modeString.mid(1))); } else if(!tmp.isEmpty() && !plus) { //FIXME: Bahamuth requires the key parameter for -k, but ircd breaks on -l with limit number. //Hence two versions of this. if (modeString[0] == 'k') - m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("-").arg(modeString[0]).arg(modeString.mid(1))); + m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("-").tqarg(modeString[0]).tqarg(modeString.mid(1))); else - m_channel->getServer()->queue(command.arg(m_channel->getName()).arg("-").arg(modeString[0]).arg("")); + m_channel->getServer()->queue(command.tqarg(m_channel->getName()).tqarg("-").tqarg(modeString[0]).tqarg("")); } } hide(); @@ -160,7 +160,7 @@ namespace Konversation TQString ChannelOptionsDialog::topic() { - return m_widget->topicEdit->text().replace("\n"," "); + return m_widget->topicEdit->text().tqreplace("\n"," "); } void ChannelOptionsDialog::refreshTopicHistory() @@ -388,7 +388,7 @@ namespace Konversation void ChannelOptionsDialog::removeBan(const TQString& ban) { - delete m_widget->banList->findItem(ban, 0); + delete m_widget->banList->tqfindItem(ban, 0); } void ChannelOptionsDialog::banEdited(TQListViewItem *edited) @@ -423,7 +423,7 @@ namespace Konversation // We delete the existing item because it's possible the server may // Modify the ban causing us not to catch it. If that happens we'll be - // stuck with a stale item and a new item with the modified hostmask. + // stuck with a stale item and a new item with the modified hosttqmask. delete new_edited; } } @@ -446,7 +446,7 @@ namespace Konversation { if (m_widget->banList->renameLineEdit()->isShown()) { - TQKeyEvent e(TQEvent::KeyPress, Qt::Key_Escape, 27, Qt::NoButton); + TQKeyEvent e(TQEvent::KeyPress, TQt::Key_Escape, 27, Qt::NoButton); KApplication::sendEvent(m_widget->banList->renameLineEdit(), &e); } @@ -459,7 +459,7 @@ namespace Konversation { if (m_widget->banList->renameLineEdit()->isShown()) { - TQKeyEvent e(TQEvent::KeyPress, Qt::Key_Return, 13, Qt::NoButton); + TQKeyEvent e(TQEvent::KeyPress, TQt::Key_Return, 13, Qt::NoButton); KApplication::sendEvent(m_widget->banList->renameLineEdit(), &e); } @@ -467,27 +467,27 @@ namespace Konversation // This is our implementation of BanListViewItem - BanListViewItem::BanListViewItem(TQListView *parent) - : KListViewItem(parent) + BanListViewItem::BanListViewItem(TQListView *tqparent) + : KListViewItem(tqparent) { m_isNewBan = 0; } - BanListViewItem::BanListViewItem(TQListView *parent, bool isNew) - : KListViewItem(parent) + BanListViewItem::BanListViewItem(TQListView *tqparent, bool isNew) + : KListViewItem(tqparent) { m_isNewBan = isNew; } - BanListViewItem::BanListViewItem (TQListView *parent, const TQString& label1, const TQString& label2, - uint timestamp) : KListViewItem(parent, label1, label2) + BanListViewItem::BanListViewItem (TQListView *tqparent, const TQString& label1, const TQString& label2, + uint timestamp) : KListViewItem(tqparent, label1, label2) { m_isNewBan = 0; m_timestamp.setTime_t(timestamp); } - BanListViewItem::BanListViewItem (TQListView *parent, bool isNew, const TQString& label1, const TQString& label2, - uint timestamp) : KListViewItem(parent, label1, label2) + BanListViewItem::BanListViewItem (TQListView *tqparent, bool isNew, const TQString& label1, const TQString& label2, + uint timestamp) : KListViewItem(tqparent, label1, label2) { m_isNewBan = isNew; m_timestamp.setTime_t(timestamp); |
