Commit d7a89430 authored by David Faure's avatar David Faure

guard #warning

svn path=/trunk/KDE/kdemultimedia/juk/; revision=622362
parent 4160ae25
......@@ -250,7 +250,9 @@ FileRenamerWidget::FileRenamerWidget(QWidget *parent) :
m_exampleText->setPalette(palette);
delete temp;
#ifdef __GNUC__
#warning Repair this.
#endif
/* layout()->setMargin(0); */ // We'll be wrapped by KDialogBase
// This must be created before createTagRows() is called.
......@@ -723,7 +725,9 @@ void FileRenamerWidget::moveItem(int id, MovementDirection direction)
QBoxLayout *layout = dynamic_cast<QBoxLayout *>(m_mainFrame->layout());
if ( layout )
return;
#ifdef __GNUC__
#warning double check if that still works with Qt4s layout
#endif
layout->removeWidget(l);
layout->insertWidget(2 * newPos, l);
......
......@@ -39,7 +39,9 @@ FileRenamerTagOptions::FileRenamerTagOptions(QWidget *parent,
m_emptyTagGroup->layout()->setSpacing(KDialog::spacingHint());
m_trackGroup->layout()->setSpacing(KDialog::spacingHint());
#ifdef __GNUC__
#warning Just commenting these out for now.
#endif
/*
m_emptyValueLayout->setSpacing(KDialog::spacingHint());
m_exampleLayout->setSpacing(KDialog::spacingHint());
......
......@@ -48,7 +48,9 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
setDefaultButton(NoDefault);
showButtonSeparator(true);
#ifdef __GNUC__
#warning KDE4 How to port this?
#endif
//disableResize();
Q3HBox *mainBox = new Q3HBox(this);
......@@ -61,7 +63,9 @@ GoogleFetcherDialog::GoogleFetcherDialog(const QString &name,
connect(m_iconWidget, SIGNAL(executed(Q3IconViewItem *)),
this, SLOT(slotOk()));
#ifdef __GNUC__
#warning This is probably wrong.
#endif
Q3HBox *imgSize = new Q3HBox(parent /*actionButton(User1)->parentWidget()*/);
QLabel *label = new QLabel(imgSize);
......
......@@ -127,7 +127,9 @@ void K3bExporter::exportPlaylistItems(const PlaylistItemList &items)
{
if(items.empty())
return;
#ifdef __GNUC__
#warning "kde4: port it when k3b will port"
#endif
#if 0
DCOPClient *client = DCOPClient::mainClient();
DCOPCString appId, appObj;
......
......@@ -79,7 +79,9 @@ int main(int argc, char *argv[])
// Here we do some DCOP locking of sorts to prevent incoming DCOP calls
// before JuK has finished its initialization.
#ifdef __GNUC__
#warning "kde4: port it"
#endif
//a.dcopClient()->suspend();
JuK *juk = new JuK;
//a.dcopClient()->resume();
......
......@@ -239,7 +239,9 @@ TrackItem::TrackItem(NowPlaying *parent) :
m_label->setTextInteractionFlags(Qt::LinksAccessibleByMouse|Qt::LinksAccessibleByKeyboard);
#ifdef __GNUC__
#warning We should potentially check on URL underlining.
#endif
/* m_label->setLinkUnderline(false); */
layout->addStretch();
......
......@@ -96,7 +96,9 @@ static bool manualResize()
* A tooltip specialized to show full filenames over the file name column.
*/
#ifdef __GNUC__
#warning disabling the tooltip for now
#endif
#if 0
class PlaylistToolTip : public QToolTip
{
......@@ -1021,7 +1023,9 @@ void Playlist::removeFromDisk(const PlaylistItemList &items)
}
}
#ifdef __GNUC__
#warning Port Q3DragObject to QMimeData
#endif
Q3DragObject *Playlist::dragObject(QWidget *parent)
{
PlaylistItemList items = selectedItems();
......@@ -1446,7 +1450,9 @@ void Playlist::refreshAlbum(const QString &artist, const QString &album)
void Playlist::hideColumn(int c, bool updateSearch)
{
#ifdef __GNUC__
#warning Port to QAction
#endif
m_headerMenu->setItemChecked(c, false);
if(!isColumnVisible(c))
......@@ -1563,7 +1569,9 @@ void Playlist::polish()
m_headerMenu = m_columnVisibleAction->menu();
#ifdef __GNUC__
#warning should be fixed...
#endif
/* m_headerMenu->insertTitle(i18n("Show")); */
m_headerMenu->setCheckable(true);
......@@ -1733,7 +1741,9 @@ void Playlist::setPlaying(PlaylistItem *item, bool addToHistory)
}
TrackSequenceManager::instance()->setCurrent(item);
#ifdef __GNUC__
#warning "kde4: port it"
#endif
//kapp->dcopClient()->emitDCOPSignal("Player", "trackChanged()", data);
if(!item)
......
......@@ -380,7 +380,9 @@ void SystemTray::createPopup()
m_fade = true;
m_step = 0;
#ifdef __GNUC__
#warning FIXME: this will not be associated with the systray any longer
#endif
m_popup = new PassiveInfo(0);
connect(m_popup, SIGNAL(destroyed()), SLOT(slotPopupDestroyed()));
connect(m_popup, SIGNAL(timeExpired()), SLOT(slotFadeOut()));
......@@ -436,7 +438,9 @@ bool SystemTray::buttonsToLeft() const
{
// The following code was nicked from kpassivepopup.cpp
#ifdef __GNUC__
#warning the systray is no longer a widget
#endif
NETWinInfo ni(QX11Info::display(), /* winId() */ 0, QX11Info::appRootWindow(),
NET::WMIconGeometry | NET::WMKDESystemTrayWinFor);
NETRect frame, win;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment