OTHER: add .moc inlcludes to .cpp files
This commit is contained in:
parent
e791949f01
commit
d9cedc7c5d
41 changed files with 71 additions and 3 deletions
|
@ -628,3 +628,5 @@ PlaylistModel::removeRows (QModelIndexList index_list)
|
|||
m_client->playlist ()->removeEntry (idlist.at(i));
|
||||
}
|
||||
}
|
||||
|
||||
#include "playlistmodel.moc"
|
||||
|
|
|
@ -267,4 +267,4 @@ XClient::convert_propdict (const Xmms::PropDict &dict)
|
|||
return hash;
|
||||
}
|
||||
|
||||
|
||||
#include "xclient.moc"
|
||||
|
|
|
@ -195,3 +195,5 @@ XClientCache::handle_playtime (const unsigned int &tme)
|
|||
emit playtime(tme);
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "xclientcache.moc"
|
||||
|
|
|
@ -274,3 +274,6 @@ XCollection::addPlsFile (QUrl url)
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "xcollection.moc"
|
||||
#include "xcollection_p.moc"
|
||||
|
|
|
@ -144,3 +144,5 @@ XConfig::handle_config_value_changed (const Xmms::Dict &value)
|
|||
// TODO
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "xconfig.moc"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <QObject>
|
||||
#include <QSocketNotifier>
|
||||
|
||||
|
||||
static void CheckWrite (int i, void *userdata);
|
||||
|
||||
XmmsQT4::XmmsQT4 (xmmsc_connection_t *xmmsc) :
|
||||
|
@ -89,3 +90,5 @@ static void CheckWrite (int i, void *userdata)
|
|||
obj->ToggleWrite (false);
|
||||
}
|
||||
}
|
||||
|
||||
#include "xmmsqt4.moc"
|
||||
|
|
|
@ -291,3 +291,5 @@ XPlayback::setBalance (int new_balance)
|
|||
|
||||
m_balance = new_balance;
|
||||
}
|
||||
|
||||
#include "xplayback.moc"
|
||||
|
|
|
@ -187,3 +187,4 @@ BrowseDialog::setPath (const QString &path)
|
|||
m_model->setPath (path);
|
||||
}
|
||||
|
||||
#include "BrowseDialog.moc"
|
||||
|
|
|
@ -216,3 +216,5 @@ BrowseModel::fileIcon (const QModelIndex &index) const
|
|||
|
||||
return QIcon (m_style->standardPixmap (QStyle::SP_FileIcon));
|
||||
}
|
||||
|
||||
#include "BrowseModel.moc"
|
||||
|
|
|
@ -56,3 +56,5 @@ FileDialog::getDirectory ()
|
|||
return ret;
|
||||
|
||||
}
|
||||
|
||||
#include "FileDialog.moc"
|
||||
|
|
|
@ -203,3 +203,5 @@ ServerBrowserList::~ServerBrowserList ()
|
|||
}
|
||||
*/
|
||||
}
|
||||
|
||||
#include "ServerBrowser.moc"
|
||||
|
|
|
@ -771,3 +771,4 @@ Skin::setPositions ()
|
|||
// m_positions.insert (SLIDER_EQUALIZER_BGS, QPoint ());
|
||||
}
|
||||
|
||||
#include "Skin.moc"
|
||||
|
|
|
@ -109,3 +109,4 @@ SkinList::changeSkin (QListWidgetItem *item)
|
|||
settings.setValue ("skin/path", it->getPath ());
|
||||
}
|
||||
|
||||
#include "SkinChooser.moc"
|
||||
|
|
|
@ -125,3 +125,5 @@ main (int argc, char **argv)
|
|||
|
||||
return app.exec();
|
||||
}
|
||||
|
||||
#include "application.moc"
|
||||
|
|
|
@ -293,3 +293,5 @@ BaseWindow::snapWindow(QPoint pos, AttachedWindowMap attached)
|
|||
|
||||
return pos;
|
||||
}
|
||||
|
||||
#include "basewindow.moc"
|
||||
|
|
|
@ -83,3 +83,5 @@ EntryInfo::mlib_entry_removed (uint32_t id)
|
|||
close ();
|
||||
}
|
||||
}
|
||||
|
||||
#include "entryinfo.moc"
|
||||
|
|
|
@ -221,3 +221,5 @@ PlaylistChooser::on_textEdit_textChanged ()
|
|||
createButton->setEnabled ((!playlistExists (textEdit->text ())
|
||||
&& (textEdit->text () != "")));
|
||||
}
|
||||
|
||||
#include "playlistchooser.moc"
|
||||
|
|
|
@ -39,3 +39,5 @@ UrlOpen::on_openButton_clicked ()
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#include "urlopen.moc"
|
||||
|
|
|
@ -284,3 +284,5 @@ EqualizerWidget::updateServerBands (int value, int id)
|
|||
QString key = QString ("equalizer.legacy%1").arg (id);
|
||||
m_xconfig->value_set (key, QString::number (value));
|
||||
}
|
||||
|
||||
#include "equalizerwidget.moc"
|
||||
|
|
|
@ -42,3 +42,5 @@ EqualizerWindow::setEnabled (void)
|
|||
{
|
||||
qDebug ("test");
|
||||
}
|
||||
|
||||
#include "equalizerwindow.moc"
|
||||
|
|
|
@ -90,3 +90,5 @@ ClutterBar::paintEvent (QPaintEvent *event)
|
|||
QPainter p (this);
|
||||
p.drawPixmap (rect (), m_pixmap, m_pixmap.rect ());
|
||||
}
|
||||
|
||||
#include "clutterbar.moc"
|
||||
|
|
|
@ -372,3 +372,5 @@ MainDisplay::setRepeatAllEnabled (bool enabled) {
|
|||
m_xconfig->value_set ("playlist.repeat_all", "0");
|
||||
}
|
||||
}
|
||||
|
||||
#include "maindisplay.moc"
|
||||
|
|
|
@ -210,3 +210,5 @@ MainWindow::attachWidgets ()
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
#include "mainwindow.moc"
|
||||
|
|
|
@ -76,3 +76,4 @@ PlayStatus::paintEvent (QPaintEvent *event)
|
|||
p.end ();
|
||||
}
|
||||
|
||||
#include "playstatus.moc"
|
||||
|
|
|
@ -55,3 +55,4 @@ PosBar::setPixmaps (Skin *skin)
|
|||
update ();
|
||||
}
|
||||
|
||||
#include "posbar.moc"
|
||||
|
|
|
@ -136,4 +136,4 @@ ShadedDisplay::setPlaytime (uint32_t time)
|
|||
m_time->setTime (showtime);
|
||||
}
|
||||
|
||||
|
||||
#include "shadeddisplay.moc"
|
||||
|
|
|
@ -59,3 +59,4 @@ SkinDisplay::fileOpen (void)
|
|||
}
|
||||
}
|
||||
|
||||
#include "skindisplay.moc"
|
||||
|
|
|
@ -59,3 +59,5 @@ StereoMono::setStereoMono (bool stereo, bool mono)
|
|||
|
||||
update ();
|
||||
}
|
||||
|
||||
#include "stereomono.moc"
|
||||
|
|
|
@ -302,3 +302,5 @@ TextScroller::mouseMoveEvent (QMouseEvent *event)
|
|||
|
||||
update ();
|
||||
}
|
||||
|
||||
#include "textscroller.moc"
|
||||
|
|
|
@ -195,3 +195,4 @@ TitleBar::mouseDoubleClickEvent (QMouseEvent *event)
|
|||
mw->switchDisplay ();
|
||||
}
|
||||
|
||||
#include "titlebar.moc"
|
||||
|
|
|
@ -134,3 +134,5 @@ PlaylistControls::setPlaylistPlaytime (uint32_t playtime, bool isExact)
|
|||
is_playlist_playtime_exact = isExact;
|
||||
update ();
|
||||
}
|
||||
|
||||
#include "playlistcontrols.moc"
|
||||
|
|
|
@ -198,3 +198,5 @@ PlaylistMenu::setPixmaps (Skin *skin)
|
|||
|
||||
update ();
|
||||
}
|
||||
|
||||
#include "playlistmenu.moc"
|
||||
|
|
|
@ -164,3 +164,4 @@ PlaylistShade::paintEvent (QPaintEvent *event)
|
|||
|
||||
}
|
||||
|
||||
#include "playlistshade.moc"
|
||||
|
|
|
@ -330,3 +330,5 @@ PlaylistView::showEntryInfo (void)
|
|||
m_entry_info->show ();
|
||||
}
|
||||
}
|
||||
|
||||
#include "playlistview.moc"
|
||||
|
|
|
@ -603,4 +603,4 @@ PlaylistWidget::openPlaylistChooser ()
|
|||
tmp->show ();
|
||||
}
|
||||
|
||||
|
||||
#include "playlistwidget.moc"
|
||||
|
|
|
@ -114,3 +114,4 @@ PlaylistWindow::leaveEvent (QEvent *event)
|
|||
m_shaded->setActive (false);
|
||||
}
|
||||
|
||||
#include "playlistwindow.moc"
|
||||
|
|
|
@ -517,3 +517,5 @@ SettingsTabMain::saveSettings (void)
|
|||
//TODO: Check if we really changed something
|
||||
return true;
|
||||
}
|
||||
|
||||
#include "settingsdialog.moc"
|
||||
|
|
|
@ -113,3 +113,5 @@ AbstractTimeDisplay::paintEvent (QPaintEvent *event)
|
|||
}
|
||||
paint.end ();
|
||||
}
|
||||
|
||||
#include "timedisplay.moc"
|
||||
|
|
|
@ -34,3 +34,5 @@ PixmapButton::paintEvent( QPaintEvent * event )
|
|||
p.end();
|
||||
|
||||
}
|
||||
|
||||
#include "pixmapbutton.moc"
|
||||
|
|
|
@ -80,3 +80,4 @@ PixmapNumberDisplay::paintEvent (QPaintEvent *event)
|
|||
paint.end ();
|
||||
}
|
||||
|
||||
#include "pixmapnumberdisplay.moc"
|
||||
|
|
|
@ -189,3 +189,5 @@ PixmapSlider::backgroundIndex ()
|
|||
sliderPosition (),
|
||||
m_backgrounds.size () - 1, false);
|
||||
}
|
||||
|
||||
#include "pixmapslider.moc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue