OTHER: add .moc inlcludes to .cpp files

This commit is contained in:
Thomas Frauendorfer 2009-08-29 02:13:21 +02:00
parent e791949f01
commit d9cedc7c5d
41 changed files with 71 additions and 3 deletions

View file

@ -628,3 +628,5 @@ PlaylistModel::removeRows (QModelIndexList index_list)
m_client->playlist ()->removeEntry (idlist.at(i)); m_client->playlist ()->removeEntry (idlist.at(i));
} }
} }
#include "playlistmodel.moc"

View file

@ -267,4 +267,4 @@ XClient::convert_propdict (const Xmms::PropDict &dict)
return hash; return hash;
} }
#include "xclient.moc"

View file

@ -195,3 +195,5 @@ XClientCache::handle_playtime (const unsigned int &tme)
emit playtime(tme); emit playtime(tme);
return true; return true;
} }
#include "xclientcache.moc"

View file

@ -274,3 +274,6 @@ XCollection::addPlsFile (QUrl url)
return true; return true;
} }
#include "xcollection.moc"
#include "xcollection_p.moc"

View file

@ -144,3 +144,5 @@ XConfig::handle_config_value_changed (const Xmms::Dict &value)
// TODO // TODO
return true; return true;
} }
#include "xconfig.moc"

View file

@ -23,6 +23,7 @@
#include <QObject> #include <QObject>
#include <QSocketNotifier> #include <QSocketNotifier>
static void CheckWrite (int i, void *userdata); static void CheckWrite (int i, void *userdata);
XmmsQT4::XmmsQT4 (xmmsc_connection_t *xmmsc) : XmmsQT4::XmmsQT4 (xmmsc_connection_t *xmmsc) :
@ -89,3 +90,5 @@ static void CheckWrite (int i, void *userdata)
obj->ToggleWrite (false); obj->ToggleWrite (false);
} }
} }
#include "xmmsqt4.moc"

View file

@ -291,3 +291,5 @@ XPlayback::setBalance (int new_balance)
m_balance = new_balance; m_balance = new_balance;
} }
#include "xplayback.moc"

View file

@ -187,3 +187,4 @@ BrowseDialog::setPath (const QString &path)
m_model->setPath (path); m_model->setPath (path);
} }
#include "BrowseDialog.moc"

View file

@ -216,3 +216,5 @@ BrowseModel::fileIcon (const QModelIndex &index) const
return QIcon (m_style->standardPixmap (QStyle::SP_FileIcon)); return QIcon (m_style->standardPixmap (QStyle::SP_FileIcon));
} }
#include "BrowseModel.moc"

View file

@ -56,3 +56,5 @@ FileDialog::getDirectory ()
return ret; return ret;
} }
#include "FileDialog.moc"

View file

@ -203,3 +203,5 @@ ServerBrowserList::~ServerBrowserList ()
} }
*/ */
} }
#include "ServerBrowser.moc"

View file

@ -771,3 +771,4 @@ Skin::setPositions ()
// m_positions.insert (SLIDER_EQUALIZER_BGS, QPoint ()); // m_positions.insert (SLIDER_EQUALIZER_BGS, QPoint ());
} }
#include "Skin.moc"

View file

@ -109,3 +109,4 @@ SkinList::changeSkin (QListWidgetItem *item)
settings.setValue ("skin/path", it->getPath ()); settings.setValue ("skin/path", it->getPath ());
} }
#include "SkinChooser.moc"

View file

@ -125,3 +125,5 @@ main (int argc, char **argv)
return app.exec(); return app.exec();
} }
#include "application.moc"

View file

@ -293,3 +293,5 @@ BaseWindow::snapWindow(QPoint pos, AttachedWindowMap attached)
return pos; return pos;
} }
#include "basewindow.moc"

View file

@ -83,3 +83,5 @@ EntryInfo::mlib_entry_removed (uint32_t id)
close (); close ();
} }
} }
#include "entryinfo.moc"

View file

@ -221,3 +221,5 @@ PlaylistChooser::on_textEdit_textChanged ()
createButton->setEnabled ((!playlistExists (textEdit->text ()) createButton->setEnabled ((!playlistExists (textEdit->text ())
&& (textEdit->text () != ""))); && (textEdit->text () != "")));
} }
#include "playlistchooser.moc"

View file

@ -39,3 +39,5 @@ UrlOpen::on_openButton_clicked ()
} }
} }
} }
#include "urlopen.moc"

View file

@ -284,3 +284,5 @@ EqualizerWidget::updateServerBands (int value, int id)
QString key = QString ("equalizer.legacy%1").arg (id); QString key = QString ("equalizer.legacy%1").arg (id);
m_xconfig->value_set (key, QString::number (value)); m_xconfig->value_set (key, QString::number (value));
} }
#include "equalizerwidget.moc"

View file

@ -42,3 +42,5 @@ EqualizerWindow::setEnabled (void)
{ {
qDebug ("test"); qDebug ("test");
} }
#include "equalizerwindow.moc"

View file

@ -90,3 +90,5 @@ ClutterBar::paintEvent (QPaintEvent *event)
QPainter p (this); QPainter p (this);
p.drawPixmap (rect (), m_pixmap, m_pixmap.rect ()); p.drawPixmap (rect (), m_pixmap, m_pixmap.rect ());
} }
#include "clutterbar.moc"

View file

@ -372,3 +372,5 @@ MainDisplay::setRepeatAllEnabled (bool enabled) {
m_xconfig->value_set ("playlist.repeat_all", "0"); m_xconfig->value_set ("playlist.repeat_all", "0");
} }
} }
#include "maindisplay.moc"

View file

@ -210,3 +210,5 @@ MainWindow::attachWidgets ()
} }
} }
#include "mainwindow.moc"

View file

@ -76,3 +76,4 @@ PlayStatus::paintEvent (QPaintEvent *event)
p.end (); p.end ();
} }
#include "playstatus.moc"

View file

@ -55,3 +55,4 @@ PosBar::setPixmaps (Skin *skin)
update (); update ();
} }
#include "posbar.moc"

View file

@ -136,4 +136,4 @@ ShadedDisplay::setPlaytime (uint32_t time)
m_time->setTime (showtime); m_time->setTime (showtime);
} }
#include "shadeddisplay.moc"

View file

@ -59,3 +59,4 @@ SkinDisplay::fileOpen (void)
} }
} }
#include "skindisplay.moc"

View file

@ -59,3 +59,5 @@ StereoMono::setStereoMono (bool stereo, bool mono)
update (); update ();
} }
#include "stereomono.moc"

View file

@ -302,3 +302,5 @@ TextScroller::mouseMoveEvent (QMouseEvent *event)
update (); update ();
} }
#include "textscroller.moc"

View file

@ -195,3 +195,4 @@ TitleBar::mouseDoubleClickEvent (QMouseEvent *event)
mw->switchDisplay (); mw->switchDisplay ();
} }
#include "titlebar.moc"

View file

@ -134,3 +134,5 @@ PlaylistControls::setPlaylistPlaytime (uint32_t playtime, bool isExact)
is_playlist_playtime_exact = isExact; is_playlist_playtime_exact = isExact;
update (); update ();
} }
#include "playlistcontrols.moc"

View file

@ -198,3 +198,5 @@ PlaylistMenu::setPixmaps (Skin *skin)
update (); update ();
} }
#include "playlistmenu.moc"

View file

@ -164,3 +164,4 @@ PlaylistShade::paintEvent (QPaintEvent *event)
} }
#include "playlistshade.moc"

View file

@ -330,3 +330,5 @@ PlaylistView::showEntryInfo (void)
m_entry_info->show (); m_entry_info->show ();
} }
} }
#include "playlistview.moc"

View file

@ -603,4 +603,4 @@ PlaylistWidget::openPlaylistChooser ()
tmp->show (); tmp->show ();
} }
#include "playlistwidget.moc"

View file

@ -114,3 +114,4 @@ PlaylistWindow::leaveEvent (QEvent *event)
m_shaded->setActive (false); m_shaded->setActive (false);
} }
#include "playlistwindow.moc"

View file

@ -517,3 +517,5 @@ SettingsTabMain::saveSettings (void)
//TODO: Check if we really changed something //TODO: Check if we really changed something
return true; return true;
} }
#include "settingsdialog.moc"

View file

@ -113,3 +113,5 @@ AbstractTimeDisplay::paintEvent (QPaintEvent *event)
} }
paint.end (); paint.end ();
} }
#include "timedisplay.moc"

View file

@ -34,3 +34,5 @@ PixmapButton::paintEvent( QPaintEvent * event )
p.end(); p.end();
} }
#include "pixmapbutton.moc"

View file

@ -80,3 +80,4 @@ PixmapNumberDisplay::paintEvent (QPaintEvent *event)
paint.end (); paint.end ();
} }
#include "pixmapnumberdisplay.moc"

View file

@ -189,3 +189,5 @@ PixmapSlider::backgroundIndex ()
sliderPosition (), sliderPosition (),
m_backgrounds.size () - 1, false); m_backgrounds.size () - 1, false);
} }
#include "pixmapslider.moc"