diff options
Diffstat (limited to 'krename')
-rw-r--r-- | krename/CMakeLists.txt | 92 | ||||
-rw-r--r-- | krename/ProgressDialog.cpp | 2 | ||||
-rw-r--r-- | krename/commandplugin.cpp | 1 | ||||
-rw-r--r-- | krename/confdialog.cpp | 1 | ||||
-rw-r--r-- | krename/coorddialog.cpp | 2 | ||||
-rw-r--r-- | krename/dateplugin.cpp | 2 | ||||
-rw-r--r-- | krename/datetime.cpp | 2 | ||||
-rw-r--r-- | krename/encodingplugin.cpp | 2 | ||||
-rw-r--r-- | krename/fileoperation.cpp | 1 | ||||
-rw-r--r-- | krename/fileplugin.cpp | 2 | ||||
-rw-r--r-- | krename/firststartdlg.cpp | 1 | ||||
-rw-r--r-- | krename/helpdialog.cpp | 1 | ||||
-rw-r--r-- | krename/kmyhistorycombo.cpp | 2 | ||||
-rw-r--r-- | krename/kmylistbox.cpp | 1 | ||||
-rw-r--r-- | krename/kmylistview.cpp | 1 | ||||
-rw-r--r-- | krename/krenameimpl.cpp | 2 | ||||
-rw-r--r-- | krename/mydirplugin.cpp | 1 | ||||
-rw-r--r-- | krename/myinputdialog.cpp | 1 | ||||
-rw-r--r-- | krename/numberdialog.cpp | 2 | ||||
-rw-r--r-- | krename/permission.cpp | 2 | ||||
-rw-r--r-- | krename/pictureplugin.cpp | 2 | ||||
-rw-r--r-- | krename/plugin.cpp | 2 | ||||
-rw-r--r-- | krename/pluginloader.cpp | 2 | ||||
-rw-r--r-- | krename/replacedialog.cpp | 2 | ||||
-rw-r--r-- | krename/tabs.cpp | 2 | ||||
-rw-r--r-- | krename/translitplugin.cpp | 4 | ||||
-rw-r--r-- | krename/undodialog.cpp | 2 | ||||
-rw-r--r-- | krename/wizard.cpp | 1 |
28 files changed, 133 insertions, 5 deletions
diff --git a/krename/CMakeLists.txt b/krename/CMakeLists.txt new file mode 100644 index 0000000..35b015b --- /dev/null +++ b/krename/CMakeLists.txt @@ -0,0 +1,92 @@ +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### krename (executable) + +tde_add_executable( ${PROJECT_NAME} AUTOMOC + + SOURCES + guimodeselector.cpp + firststartdlg.cpp + tabs.cpp + krenameimpl.cpp + numberdialog.cpp + coorddialog.cpp + commandplugin.cpp + helpdialog.cpp + pictureplugin.cpp + mydirplugin.cpp + datetime.cpp + permission.cpp + fileplugin.cpp + undodialog.cpp + myinputdialog.cpp + kmylistview.cpp + wizard.cpp + replacedialog.cpp + pluginloader.cpp + plugin.cpp + kmylistbox.cpp + kmyhistorycombo.cpp + fileoperation.cpp + confdialog.cpp + batchrenamer.cpp + ProgressDialog.cpp + main.cpp + krecursivelister.cpp + dsdirselectdialog.cpp + krenamedcop.skel + dateplugin.cpp + encodingplugin.cpp + profiledlg.cpp + threadedlister.cpp + translitplugin.cpp + LINK + tdecore-shared + tdeui-shared + tdeio-shared + + DESTINATION ${BIN_INSTALL_DIR} +) + + +##### icons + +tde_install_icons( ${PROJECT_NAME} ) + + +##### other data + +install( + FILES ${PROJECT_NAME}.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) + +install( + FILES + krenameservicemenu.desktop + krename_dir.desktop + + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus +) + +install( + FILES + logo.png + krename_system_default_tabbed.xml + krename_system_default_wizard.xml + + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME} +) diff --git a/krename/ProgressDialog.cpp b/krename/ProgressDialog.cpp index bbcc980..d7b4eed 100644 --- a/krename/ProgressDialog.cpp +++ b/krename/ProgressDialog.cpp @@ -350,3 +350,5 @@ void ProgressDialog::slotTimer() { kapp->processEvents( 0 ); } + +#include "ProgressDialog.moc" diff --git a/krename/commandplugin.cpp b/krename/commandplugin.cpp index d12d4bb..9f8d6a1 100644 --- a/krename/commandplugin.cpp +++ b/krename/commandplugin.cpp @@ -189,3 +189,4 @@ const TQPixmap CommandPlugin::getIcon() const return kapp->iconLoader()->loadIcon( "konsole", TDEIcon::Small ); } +#include "commandplugin.moc" diff --git a/krename/confdialog.cpp b/krename/confdialog.cpp index 25a235a..07a7794 100644 --- a/krename/confdialog.cpp +++ b/krename/confdialog.cpp @@ -107,3 +107,4 @@ void ConfDialog::defaults() spinSize->setValue( 80 ); } +#include "confdialog.moc" diff --git a/krename/coorddialog.cpp b/krename/coorddialog.cpp index 959c969..818fd55 100644 --- a/krename/coorddialog.cpp +++ b/krename/coorddialog.cpp @@ -140,3 +140,5 @@ TQString CoordDialog::coords() m_inversion = checkInvert->isChecked(); return m_command; } + +#include "coorddialog.moc" diff --git a/krename/dateplugin.cpp b/krename/dateplugin.cpp index 31522d2..e41cce5 100644 --- a/krename/dateplugin.cpp +++ b/krename/dateplugin.cpp @@ -151,3 +151,5 @@ void DatePlugin::addHelp( HelpDialogData* data ) data->add( getName(), &list, getIcon() ); } + +#include "dateplugin.moc" diff --git a/krename/datetime.cpp b/krename/datetime.cpp index 457503f..46f8aa3 100644 --- a/krename/datetime.cpp +++ b/krename/datetime.cpp @@ -234,5 +234,5 @@ void MyDatePlugin::changeDT() kDate->setDate( TQDate::currentDate() ); } - +#include "datetime.moc" diff --git a/krename/encodingplugin.cpp b/krename/encodingplugin.cpp index 3d12fb3..4c3018a 100644 --- a/krename/encodingplugin.cpp +++ b/krename/encodingplugin.cpp @@ -142,3 +142,5 @@ void EncodingPlugin::setLocale( KComboBox* combo ) break; } } + +#include "encodingplugin.moc" diff --git a/krename/fileoperation.cpp b/krename/fileoperation.cpp index ffe8065..18d2813 100644 --- a/krename/fileoperation.cpp +++ b/krename/fileoperation.cpp @@ -110,3 +110,4 @@ void FileOperation::slotResult( TDEIO::Job * job ) kapp->eventLoop()->exitLoop(); } +#include "fileoperation.moc" diff --git a/krename/fileplugin.cpp b/krename/fileplugin.cpp index 4ed83b9..683fa9f 100644 --- a/krename/fileplugin.cpp +++ b/krename/fileplugin.cpp @@ -211,3 +211,5 @@ void FilePlugin::clearCache() { cache.clear(); } + +#include "fileplugin.moc" diff --git a/krename/firststartdlg.cpp b/krename/firststartdlg.cpp index e500c7f..eda5b31 100644 --- a/krename/firststartdlg.cpp +++ b/krename/firststartdlg.cpp @@ -31,3 +31,4 @@ FirstStartDlg::~FirstStartDlg() { } +#include "firststartdlg.moc" diff --git a/krename/helpdialog.cpp b/krename/helpdialog.cpp index 9a0d444..64a4809 100644 --- a/krename/helpdialog.cpp +++ b/krename/helpdialog.cpp @@ -149,3 +149,4 @@ void HelpDialog::updateHeadline() comboHeadline->insertItem( ic[it.key()], it.key() ); } +#include "helpdialog.moc" diff --git a/krename/kmyhistorycombo.cpp b/krename/kmyhistorycombo.cpp index 32724fb..1f7f112 100644 --- a/krename/kmyhistorycombo.cpp +++ b/krename/kmyhistorycombo.cpp @@ -165,3 +165,5 @@ void KMyHistoryCombo::slotInsertKRenameCommand( int id ) if( !t.isEmpty() ) this->lineEdit()->insert( t ); } + +#include "kmyhistorycombo.moc" diff --git a/krename/kmylistbox.cpp b/krename/kmylistbox.cpp index ca8e408..77bf6a7 100644 --- a/krename/kmylistbox.cpp +++ b/krename/kmylistbox.cpp @@ -837,3 +837,4 @@ TQString KMyListBoxItem::text() const bool KMyListBoxItem::m_preview = false; bool KMyListBoxItem::m_name = false; +#include "kmylistbox.moc" diff --git a/krename/kmylistview.cpp b/krename/kmylistview.cpp index ce683d2..bb4f972 100644 --- a/krename/kmylistview.cpp +++ b/krename/kmylistview.cpp @@ -175,3 +175,4 @@ void KMyListViewItem::paintCell( TQPainter *p, const TQColorGroup &cg, _cg.setColor( TQColorGroup::Text, c ); } +#include "kmylistview.moc" diff --git a/krename/krenameimpl.cpp b/krename/krenameimpl.cpp index bf41490..d9aa3ed 100644 --- a/krename/krenameimpl.cpp +++ b/krename/krenameimpl.cpp @@ -1834,3 +1834,5 @@ void KRenameImpl::slotEasy4() { getHelpDialogString( comboCustomExtension->lineEdit() ); } + +#include "krenameimpl.moc" diff --git a/krename/mydirplugin.cpp b/krename/mydirplugin.cpp index eaa3723..fd877ef 100644 --- a/krename/mydirplugin.cpp +++ b/krename/mydirplugin.cpp @@ -167,3 +167,4 @@ void MyDirPlugin::chooseDir() outputdir->setText( s ); } +#include "mydirplugin.moc" diff --git a/krename/myinputdialog.cpp b/krename/myinputdialog.cpp index 83a4833..8c9a272 100644 --- a/krename/myinputdialog.cpp +++ b/krename/myinputdialog.cpp @@ -107,3 +107,4 @@ void MyInputDialog::slotFilename() text->setText( m_oldfilename ); } +#include "myinputdialog.moc" diff --git a/krename/numberdialog.cpp b/krename/numberdialog.cpp index aa54a75..661e713 100644 --- a/krename/numberdialog.cpp +++ b/krename/numberdialog.cpp @@ -169,3 +169,5 @@ void NumberDialog::sort() } } } + +#include "numberdialog.moc" diff --git a/krename/permission.cpp b/krename/permission.cpp index e7ef157..c56900d 100644 --- a/krename/permission.cpp +++ b/krename/permission.cpp @@ -326,4 +326,4 @@ const TQPixmap MyPermPlugin::getIcon() const return kapp->iconLoader()->loadIcon( "clanbomber", TDEIcon::Small ); } - +#include "permission.moc" diff --git a/krename/pictureplugin.cpp b/krename/pictureplugin.cpp index 14ea5af..79906ae 100644 --- a/krename/pictureplugin.cpp +++ b/krename/pictureplugin.cpp @@ -95,4 +95,4 @@ TQString PicturePlugin::processFile( BatchRenamer* b, int i, TQString token, int return ret; } - +#include "pictureplugin.moc" diff --git a/krename/plugin.cpp b/krename/plugin.cpp index 10bca7d..8dade82 100644 --- a/krename/plugin.cpp +++ b/krename/plugin.cpp @@ -60,3 +60,5 @@ void Plugin::clearCache() { // do nothing... } + +#include "plugin.moc" diff --git a/krename/pluginloader.cpp b/krename/pluginloader.cpp index a6c8fd7..234763e 100644 --- a/krename/pluginloader.cpp +++ b/krename/pluginloader.cpp @@ -177,3 +177,5 @@ void PluginLoader::loadFilePlugins() m_file = true; } + +#include "pluginloader.moc" diff --git a/krename/replacedialog.cpp b/krename/replacedialog.cpp index 1f7796a..85db862 100644 --- a/krename/replacedialog.cpp +++ b/krename/replacedialog.cpp @@ -255,3 +255,5 @@ void ReplaceDialog::slotEdit() enableControls(); } + +#include "replacedialog.moc" diff --git a/krename/tabs.cpp b/krename/tabs.cpp index 79fb5cd..2cfbf3d 100644 --- a/krename/tabs.cpp +++ b/krename/tabs.cpp @@ -118,3 +118,5 @@ void tabs::keyPressEvent( TQKeyEvent *e ) else e->ignore(); } + +#include "tabs.moc" diff --git a/krename/translitplugin.cpp b/krename/translitplugin.cpp index a199e6b..ce11013 100644 --- a/krename/translitplugin.cpp +++ b/krename/translitplugin.cpp @@ -10,7 +10,7 @@ // // #include "translitplugin.h" -#include "translitplugin.moc" + const TQString TranslitPlugin::m_strUtf8[] = {"а","б","в","г","д","е","ё","ж","з","и", "й","к","л","м","н","о","п","р","с","т","у","ф","х","ц","ч","ш","щ","ъ","ы","ь", @@ -104,3 +104,5 @@ TranslitPlugin::TranslitPlugin() { m_mapFromUTF8[src] = dst; } } + +#include "translitplugin.moc" diff --git a/krename/undodialog.cpp b/krename/undodialog.cpp index 43b52af..7930407 100644 --- a/krename/undodialog.cpp +++ b/krename/undodialog.cpp @@ -131,6 +131,6 @@ void UndoDialog::setUndoScript( const TQString & filename ) scriptname->setURL( filename ); } - +#include "undodialog.moc" diff --git a/krename/wizard.cpp b/krename/wizard.cpp index cca96fc..9796de4 100644 --- a/krename/wizard.cpp +++ b/krename/wizard.cpp @@ -104,3 +104,4 @@ void wizard::accept() /** do nothing */ } +#include "wizard.moc" |