diff options
| author | 2008-11-08 12:50:00 +0000 | |
|---|---|---|
| committer | 2008-11-08 12:50:00 +0000 | |
| commit | 66ff2329ae6f045f18edae5ec22cec64c7905572 (patch) | |
| tree | e182fa359512df0d44db91fa49576d13c186de8d /src/modules/channelsjoin | |
| parent | applied wRAR patch for #285 (diff) | |
| download | KVIrc-66ff2329ae6f045f18edae5ec22cec64c7905572.tar.gz KVIrc-66ff2329ae6f045f18edae5ec22cec64c7905572.tar.bz2 KVIrc-66ff2329ae6f045f18edae5ec22cec64c7905572.zip | |
second round of misc compilation noise reduction
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2838 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/channelsjoin')
| -rw-r--r-- | src/modules/channelsjoin/channelsjoinwindow.cpp | 10 | ||||
| -rw-r--r-- | src/modules/channelsjoin/libkvichannelsjoin.cpp | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/channelsjoin/channelsjoinwindow.cpp b/src/modules/channelsjoin/channelsjoinwindow.cpp index 4e514480f..6db6c1f3d 100644 --- a/src/modules/channelsjoin/channelsjoinwindow.cpp +++ b/src/modules/channelsjoin/channelsjoinwindow.cpp @@ -62,7 +62,7 @@ KviChannelsJoinWindow::KviChannelsJoinWindow(QWidget * par, const char * name) m_pConsole = 0; QGridLayout * g = new QGridLayout(this); - + m_pTreeWidget = new KviTalTreeWidget(this); m_pTreeWidget->setHeaderLabel(__tr2qs("Channel")); m_pTreeWidget->setRootIsDecorated(true); @@ -78,7 +78,7 @@ KviChannelsJoinWindow::KviChannelsJoinWindow(QWidget * par, const char * name) szMsg.append(":"); QLabel * l = new QLabel(szMsg,m_pGroupBox); - m_pChannelEdit = new QLineEdit(m_pGroupBox); + m_pChannelEdit = new QLineEdit(m_pGroupBox); connect(m_pChannelEdit,SIGNAL(returnPressed()), this, SLOT(editReturnPressed())); connect(m_pChannelEdit,SIGNAL(textChanged(const QString &)),this,SLOT(editTextChanged(const QString &))); @@ -119,7 +119,7 @@ KviChannelsJoinWindow::KviChannelsJoinWindow(QWidget * par, const char * name) /* KviTalHBox * hb = new KviTalHBox(this); hb->setSpacing(4); - + QPushButton * namesButton = new QPushButton("/names", hb); connect(namesButton,SIGNAL(clicked()),this,SLOT(namesClicked())); QPushButton * whoButton = new QPushButton("/who", hb); @@ -165,7 +165,7 @@ void KviChannelsJoinWindow::fillListView() par->setText(0,__tr2qs("Recent Channels")); par->setExpanded(true); KviTalTreeWidgetItem * chld; - + if(m_pConsole) { QStringList * pList = g_pApp->getRecentChannels(m_pConsole->currentNetworkName()); @@ -198,7 +198,7 @@ void KviChannelsJoinWindow::fillListView() } } -void KviChannelsJoinWindow::itemClicked(QTreeWidgetItem * it, int index) +void KviChannelsJoinWindow::itemClicked(QTreeWidgetItem * it, int) { if(!it) return; diff --git a/src/modules/channelsjoin/libkvichannelsjoin.cpp b/src/modules/channelsjoin/libkvichannelsjoin.cpp index 13b970aed..0260729f7 100644 --- a/src/modules/channelsjoin/libkvichannelsjoin.cpp +++ b/src/modules/channelsjoin/libkvichannelsjoin.cpp @@ -48,7 +48,7 @@ QRect g_rectChannelsJoinGeometry; @description: Shows a dialog that allows the user to enter channels in a visual manner.[br] This command is exported by the "channelsjoin" module. - + */ static bool channelsjoin_kvs_cmd_open(KviKvsModuleCommandCall * c) @@ -56,7 +56,7 @@ static bool channelsjoin_kvs_cmd_open(KviKvsModuleCommandCall * c) if(!g_pChannelsWindow)g_pChannelsWindow = new KviChannelsJoinWindow(c->window()->frame(),"channelsjoin"); g_pChannelsWindow->setConsole(c->window()->console()); - + g_pChannelsWindow->show(); g_pChannelsWindow->raise(); g_pChannelsWindow->setFocus(); @@ -71,7 +71,7 @@ static bool channelsjoin_module_init(KviModule * m) KviConfig cfg(fName,KviConfig::Read); g_rectChannelsJoinGeometry = cfg.readRectEntry("geometry",QRect(30,30,320,410)); - + KVSM_REGISTER_SIMPLE_COMMAND(m,"open",channelsjoin_kvs_cmd_open); return true; } @@ -83,13 +83,13 @@ static bool channelsjoin_module_cleanup(KviModule *m) KviConfig cfg(fName,KviConfig::Write); cfg.writeEntry("geometry",g_rectChannelsJoinGeometry); - + if (g_pChannelsWindow)delete g_pChannelsWindow; g_pChannelsWindow = 0; return true; } -static bool channelsjoin_module_can_unload(KviModule *m) +static bool channelsjoin_module_can_unload(KviModule *) { return (!g_pChannelsWindow); } @@ -97,7 +97,7 @@ static bool channelsjoin_module_can_unload(KviModule *m) KVIRC_MODULE( "ChannelsJoin", "4.0.0", - "Copyright (C) 2001-2006 Juan Jos��varez (juanjux@yahoo.es), Alexey (wizard@opendoor.ru)", + "Copyright (C) 2001-2006 Juanjo Alvarez (juanjux@yahoo.es), Alexey (wizard@opendoor.ru)", "Window to join channels in a GUI", channelsjoin_module_init, channelsjoin_module_can_unload, |
