Compare commits

...

11 Commits

Author SHA1 Message Date
Michele Calgaro 650b6c3f10
Replace Qt with TQt
3 weeks ago
Michele Calgaro 8ffd2696e1
Remove unnecessary files
3 weeks ago
Michele Calgaro 300f52dfff
Use centralized cmake version
1 month ago
Michele Calgaro 222407dabc
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
4 months ago
Michele Calgaro 44470b8aac
Replace various '#define' strings - part 6
4 months ago
TDE Gitea 7132d1d768 Merge translation files from master branch.
5 months ago
TDE Gitea d8fcd4faba Merge translation files from master branch.
5 months ago
Slávek Banko 804f4f35f4
Raise the minimum required version of CMake to 3.5.
6 months ago
Michele Calgaro 5d02ccb1c9
Replace Qt with TQt
6 months ago
Michele Calgaro 6f80ce0b81
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
7 months ago
Michele Calgaro ad3b4bf4de
Replace Q_OBJECT with TQ_OBJECT
9 months ago

@ -9,7 +9,11 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################

@ -7,7 +7,11 @@
############################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup
@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths
include( TDESetupPaths )

@ -1,246 +0,0 @@
# Doxyfile 1.3.4-KDevelop
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = krename.tdevelop
PROJECT_NUMBER =
OUTPUT_DIRECTORY =
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = NO
STRIP_FROM_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/dominik/Desktop/Programming/krename
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

@ -208,7 +208,7 @@ Hello, as you live in germany I assume you speak German. If not,
Wenn man ueber den dsdirselectdialog Dateien/Ordner hinzufuegt und
die Anzahl enorm ist (70gb mp3s), wird die aktuelle kde session
beendet. Man kann noch den Crash-Handler sehen. Wahrscheinlich ist
das ein Bug in KFileDialog oder in Qt. Als Ausweg kann man
das ein Bug in KFileDialog oder in TQt. Als Ausweg kann man
natuerlich die Dateien via D'n'D hinzufuegen, allerdings kann hat
man dann nicht die vielseitigen Optionen des Dialogs.
@ -235,7 +235,7 @@ Die oben genannten Vorschlaege sind nicht unbedingt als eine
Ich waere bereit an diesem Projekt mitzuarbeiten, obgleich meine
Programmierfaehigkeiten eher im Hobbybereich liegen. Dennoch habe
ich schon Erfahrungen mit KDE/Qt gesammelt.
ich schon Erfahrungen mit TDE/TQt gesammelt.
MfG,
Christian Goehl

@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH QT: "1" "September 2005" "Qt: 3.3.5" "User Commands"
.TH TQt: "1" "September 2005" "TQt: 3.3.5" "User Commands"
.SH NAME
Qt: \- manual page for Qt: 3.3.5
TQt: \- manual page for TQt: 3.3.5
.SH SYNOPSIS
.B krename
[\fIQt-options\fR] [\fITDE-options\fR] [\fIfile\fR]
@ -18,8 +18,8 @@ See help files for details.
\fB\-\-help\fR
Show help about options
.TP
\fB\-\-help\-qt\fR
Show Qt specific options
\fB\-\-help\-tqt\fR
Show TQt specific options
.TP
\fB\-\-help\-tde\fR
Show TDE specific options
@ -75,13 +75,13 @@ KDE: 3.4.2
KRename: 3.0.8
.SH "SEE ALSO"
The full documentation for
.B Qt:
.B TQt:
is maintained as a Texinfo manual. If the
.B info
and
.B Qt:
.B TQt:
programs are properly installed at your site, the command
.IP
.B info Qt:
.B info TQt:
.PP
should give you access to the complete manual.

@ -1,195 +0,0 @@
<!DOCTYPE tdevelop>
<tdevelop>
<general>
<author>Dominik Seichter</author>
<email>domseichter@web.de</email>
<projectmanagement>KDevKDEAutoProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>KDE</keyword>
<keyword>Qt</keyword>
</keywords>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<version>3.0.3</version>
<description/>
<ignoreparts/>
<secondaryLanguages/>
</general>
<kdevautoproject>
<general>
<mainprogram>krename</mainprogram>
<useconfiguration>default</useconfiguration>
<activetarget>krename/krename</activetarget>
</general>
<configure>
<configargs>\s--build=i386-linux --host=i386-linux --target=i386-linux --prefix=/opt/trinity\s</configargs>
</configure>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin/>
<envvars>
<envvar value="1" name="WANT_AUTOCONF_2_5" />
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
</envvars>
</make>
<compiler>
<cflags/>
<cxxflags>\s-O2 -g2 -Wall</cxxflags>
</compiler>
<run>
<directoryradio>executable</directoryradio>
<customdirectory>/</customdirectory>
<mainprogram>krename/krename</mainprogram>
<programargs/>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
</run>
<configurations>
<default>
<configargs/>
<builddir/>
<topsourcedir/>
<cppflags/>
<ldflags/>
<ccompiler>kdevgccoptions</ccompiler>
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevg77options</f77compiler>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
<cxxflags/>
<f77flags/>
</default>
<debug>
<configargs>--enable-debug</configargs>
<builddir>debug</builddir>
<topsourcedir/>
<cppflags/>
<ldflags/>
<ccompiler>kdevgccoptions</ccompiler>
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevg77options</f77compiler>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
<cxxflags/>
<f77flags/>
</debug>
</configurations>
</kdevautoproject>
<kdevfileview>
<groups>
<group pattern="*.h;*.hh;*.hxx;*.hpp;*.H" name="Header" />
<group pattern="*.cpp;*.c;*.cc;*.C;*.cxx;*.ec;*.ecpp;*.lxx;*.l++;*.ll;*.l" name="Quellen" />
<group pattern="*.kdevdlg;*.ui;*.rc" name="Benutzerschnittstelle" />
<group pattern="*.po" name="Übersetzungen" />
<group pattern="AUTHORS;COPYING;ChangeLog;INSTALL;README;TODO;NEWS" name="GNU" />
<group pattern="*.html;*.HTML;*.htm;*.html" name="Documentation" />
<group pattern="*" name="Andere" />
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
<hidenonprojectfiles>false</hidenonprojectfiles>
<showvcsfields>false</showvcsfields>
</tree>
</kdevfileview>
<kdevdoctreeview>
<ignoretocs>
<toc>gtk</toc>
<toc>gnustep</toc>
<toc>python</toc>
<toc>php</toc>
<toc>perl</toc>
</ignoretocs>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignoredoxygen/>
<ignorekdocs/>
<ignoredevhelp/>
</kdevdoctreeview>
<kdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
<programargs/>
<gdbpath/>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
</general>
<display>
<staticmembers>true</staticmembers>
<demanglenames>true</demanglenames>
<outputradix>10</outputradix>
</display>
</kdevdebugger>
<kdevcppsupport>
<references/>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
</kdevcppsupport>
<kdevfilecreate>
<filetypes/>
<useglobaltypes/>
</kdevfilecreate>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
<dist>
<custom>false</custom>
<bzip>false</bzip>
<archname/>
<appname/>
<version/>
<release/>
<vendor/>
<licence/>
<summary/>
<group/>
<packager/>
<description/>
<changelog/>
<devpackage>false</devpackage>
<docspackage>false</docspackage>
<appicon>false</appicon>
<arch>0</arch>
<genHTML>false</genHTML>
<useRPM>false</useRPM>
<ftpkde>false</ftpkde>
<appskde>false</appskde>
<url/>
</dist>
<kdevcvsservice>
<recursivewhenupdate>true</recursivewhenupdate>
<prunedirswhenupdate>true</prunedirswhenupdate>
<createdirswhenupdate>true</createdirswhenupdate>
<recursivewhencommitremove>true</recursivewhencommitremove>
<revertoptions>-C</revertoptions>
</kdevcvsservice>
</tdevelop>

@ -15,13 +15,13 @@
* *
***************************************************************************/
// QT Includes
// TQt Includes
#include <tqlayout.h>
#include <tqprogressbar.h>
#include <tqtimer.h>
#include <tqtooltip.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <tdelistview.h>
@ -78,11 +78,11 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
buttonUndo->setEnabled( false );
mnuButton = new TDEPopupMenu( this );
mnuButton->insertItem( i18n("Restart KRename..."), this, TQT_SLOT( restart() ));
mnuButton->insertItem( i18n("Restart KRename..."), this, TQ_SLOT( restart() ));
mnuButton->insertSeparator();
mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQT_SLOT( again() ), 0, MNU_DONE_ID );
mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQT_SLOT( unAgain() ), 0, MNU_ERROR_ID );
mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQT_SLOT( allAgain() ));
mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQ_SLOT( again() ), 0, MNU_DONE_ID );
mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQ_SLOT( unAgain() ), 0, MNU_ERROR_ID );
mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQ_SLOT( allAgain() ));
buttonRestart = new KPushButton( this );
buttonRestart->setText( i18n( "&Rename More..." ) );
buttonRestart->setPopup( mnuButton );
@ -110,15 +110,15 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
ProgressDialogLayout->addWidget( display );
ProgressDialogLayout->addLayout( Layout1 );
connect( buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitAll()));
connect( buttonOpenDest, TQT_SIGNAL(clicked()), this, TQT_SLOT(openDest()));
connect( buttonCancel, TQT_SIGNAL( clicked()), this, TQT_SLOT(canceled() ));
connect( buttonUndo, TQT_SIGNAL( clicked() ), this, TQT_SLOT( undo() ) );
connect( buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(quitAll()));
connect( buttonOpenDest, TQ_SIGNAL(clicked()), this, TQ_SLOT(openDest()));
connect( buttonCancel, TQ_SIGNAL( clicked()), this, TQ_SLOT(canceled() ));
connect( buttonUndo, TQ_SIGNAL( clicked() ), this, TQ_SLOT( undo() ) );
m_count = 0;
m_canceled = false;
m_timer = new TQTimer( this, "m_timer" );
connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotTimer() ) );
connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimer() ) );
hide();
}

@ -43,7 +43,7 @@ class TQHBoxLayout;
class TQVBoxLayout;
class ProgressDialog : public TQWidget
{
Q_OBJECT
TQ_OBJECT
public:
ProgressDialog( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );

@ -32,11 +32,11 @@
#include <sys/types.h>
#include <sys/stat.h>
// QT includes
// TQt includes
#include <tqdir.h>
#include <tqregexp.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdeio/job.h>
#include <tdeio/netaccess.h>

@ -17,12 +17,12 @@
#include "commandplugin.h"
// QT includes
// TQt includes
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqlayout.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <kiconloader.h>
@ -93,9 +93,9 @@ void CommandPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
vb->setStretchFactor( list, 2 );
l->addLayout( vb );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) );
connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) );
connect( list, TQT_SIGNAL( executed( TQListBoxItem* ) ), this, TQT_SLOT( exec() ) );
connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
connect( list, TQ_SIGNAL( executed( TQListBoxItem* ) ), this, TQ_SLOT( exec() ) );
TDEConfig* conf = kapp->config();
conf->setGroup("CommandPlugin");

@ -28,7 +28,7 @@ class KLineEdit;
class TDEListBox;
class KPushButton;
class CommandPlugin : public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -18,14 +18,14 @@
// Own includes
#include "confdialog.h"
// QT includes
// TQt includes
#include <tqbuttongroup.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqradiobutton.h>
#include <tqtooltip.h>
// KDE includes
// TDE includes
#include <kiconloader.h>
#include <tdelocale.h>
@ -37,7 +37,7 @@ ConfDialog::ConfDialog( TQWidget* parent, const char* name )
setupTab1();
setupTab2();
connect( this, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT( defaults() ) );
connect( this, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT( defaults() ) );
}
ConfDialog::~ConfDialog()
@ -52,7 +52,7 @@ void ConfDialog::setupTab1()
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
TQButtonGroup* group = new TQButtonGroup( box );
group->setColumnLayout(0, Qt::Vertical );
group->setColumnLayout(0, TQt::Vertical );
TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() );
optionWizard = new TQRadioButton( group );

@ -18,10 +18,10 @@
#ifndef CONFDIALOG_H
#define CONFDIALOG_H
// QT includes
// TQt includes
#include <tqcheckbox.h>
// KDE includes
// TDE includes
#include <kdialogbase.h>
#include <knuminput.h>
@ -32,7 +32,7 @@ class TQVBoxLayout;
class TQWidget;
class KIntNumInput;
class ConfDialog : public KDialogBase, public GUIModeSelector {
Q_OBJECT
TQ_OBJECT
public:
ConfDialog( TQWidget* parent = 0, const char* name = 0 );

@ -24,7 +24,7 @@
#include <tqlayout.h>
#include <tqvalidator.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdelocale.h>
@ -56,7 +56,7 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char *
filename = new DSLineEdit( parent );
filename->setText( file );
filename->setValidator( new TQRegExpValidator( TQRegExp( file ), TQT_TQOBJECT(this) ) );
filename->setValidator( new TQRegExpValidator( TQRegExp( file ), this ) );
preview = new TQLabel( parent );
@ -69,10 +69,10 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char *
layout->addWidget( preview );
updateCommand();
connect( filename, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( updateCommand() ) );
connect( checkInvert, TQT_SIGNAL( clicked() ), this, TQT_SLOT( updateCommand() ) );
connect( filename, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( resetText() ) );
connect( filename, TQT_SIGNAL( changed() ), this, TQT_SLOT( updateCommand() ) );
connect( filename, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( updateCommand() ) );
connect( checkInvert, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updateCommand() ) );
connect( filename, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( resetText() ) );
connect( filename, TQ_SIGNAL( changed() ), this, TQ_SLOT( updateCommand() ) );
show();

@ -23,7 +23,7 @@
class TQKeyEvent;
class DSLineEdit : public KLineEdit {
Q_OBJECT
TQ_OBJECT
public:
DSLineEdit( TQWidget* parent = 0, const char* name = 0 );
@ -46,7 +46,7 @@ class TQString;
* the coordinates of a filename using an [x;y] token.
*/
class CoordDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
CoordDialog( const TQString & file, TQWidget *_parent=0, const char *name=0);

@ -19,7 +19,7 @@
// TQt includes
#include <tqdatetime.h>
// KDE includes
// TDE includes
#include <tdefileitem.h>
#include <tdeio/netaccess.h>
#include <tdelocale.h>

@ -17,14 +17,14 @@
#include "datetime.h"
// QT includes
// TQt includes
#include <tqcheckbox.h>
#include <tqfileinfo.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqpushbutton.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <kdatepik.h>
@ -119,7 +119,7 @@ void MyDatePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addLayout( Layout0 );
connect( buttonCurrentDT, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeDT()));
connect( buttonCurrentDT, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeDT()));
#endif
}

@ -42,7 +42,7 @@ class TQString;
class TQWidget;
class MyDatePlugin: public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -25,7 +25,7 @@
#include <tqtooltip.h>
#include <tqvbox.h>
// KDE includes
// TDE includes
#include <tdediroperator.h>
#include <tdelocale.h>
#include <kurlcombobox.h>
@ -51,7 +51,7 @@ DSDirSelectDialog::DSDirSelectDialog( TQWidget* parent )
checkHidden = new TQCheckBox( i18n("Add &hidden directories"), hbox );
hbox->setStretchFactor( checkHidden, 4 );
checkOnlyDir = new TQCheckBox( i18n("Add directory names only"), vbox );
connect( check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ));
connect( check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ));
TQToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") );
TQToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") );

@ -26,7 +26,7 @@ class KComboBox;
/* A small helper class to allow layout changes in KDirSelectDialog */
class DSDirSelectDialog : public KFileDialog {
Q_OBJECT
TQ_OBJECT
public:

@ -17,7 +17,7 @@
#include "encodingplugin.h"
// QT includes
// TQt includes
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqlayout.h>
@ -25,7 +25,7 @@
#include <tqvgroupbox.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kcombobox.h>
#include <kiconloader.h>
@ -80,11 +80,11 @@ void EncodingPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupInput );
l->addWidget( groupOutput );
connect( checkInput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
connect( checkOutput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
connect( checkInput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( checkOutput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( comboOutput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) );
connect( comboInput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) );
connect( comboOutput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
connect( comboInput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
setLocale( comboInput );
setLocale( comboOutput );

@ -28,7 +28,7 @@ class KComboBox;
class TQCheckBox;
class EncodingPlugin : public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -15,13 +15,13 @@
* *
***************************************************************************/
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdelocale.h>
#include <tdeio/netaccess.h>
#include <tdeio/job.h>
// QT includes
// TQt includes
#include <tqeventloop.h>
#include <tqfileinfo.h>
@ -83,8 +83,8 @@ bool FileOperation::start( const KURL & src, const KURL & dest, int mode, bool o
return false;
job->setAutoErrorHandlingEnabled( false, 0 );
connect( job, TQT_SIGNAL( result (TDEIO::Job *) ),
this, TQT_SLOT( slotResult (TDEIO::Job *) ) );
connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
kapp->eventLoop()->enterLoop();
return !result;

@ -24,7 +24,7 @@
class TQString;
class FileOperation: public TQObject {
Q_OBJECT
TQ_OBJECT
public:
FileOperation();

@ -23,7 +23,7 @@
#include <tqlayout.h>
#include <tqregexp.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdefilemetainfo.h>
#include <klineedit.h>

@ -38,7 +38,7 @@ class TQWidget;
class TQVBoxLayout;
class KFilePlugin;
class FilePlugin : public Plugin {
Q_OBJECT
TQ_OBJECT
public:
FilePlugin( KService* service );

@ -23,7 +23,7 @@
#include "guimodeselector.h"
class FirstStartDlg : public KDialogBase, public GUIModeSelector {
Q_OBJECT
TQ_OBJECT
public:
FirstStartDlg(TQWidget *parent=0, const char *name=0);

@ -24,7 +24,7 @@
#include <tqlayout.h>
#include <tqradiobutton.h>
// KDE includes
// TDE includes
#include <tdelocale.h>
GUIModeSelector::GUIModeSelector()
@ -58,7 +58,7 @@ void GUIModeSelector::createFrame( TQFrame* frame )
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
TQButtonGroup* group = new TQButtonGroup( frame );
group->setColumnLayout(0, Qt::Vertical );
group->setColumnLayout(0, TQt::Vertical );
TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() );
optionWizard = new TQRadioButton( group );

@ -22,7 +22,7 @@
#include <tqlayout.h>
#include <tqlineedit.h>
// KDE includes
// TDE includes
#include <tdelocale.h>
#include <tdelistview.h>
#include <kpushbutton.h>
@ -95,20 +95,20 @@ HelpDialog::HelpDialog( HelpDialogData* data, TQWidget* parent,
HelpDialogLayout->addLayout( Layout1 );
// signals and slots connections
connect( buttonClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( execute() ) );
connect( list, TQT_SIGNAL( executed(TQListViewItem*) ), this, TQT_SLOT( execute() ) );
connect( comboHeadline, TQT_SIGNAL( activated(int) ), this, TQT_SLOT(updateItems() ) );
connect( buttonClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( execute() ) );
connect( list, TQ_SIGNAL( executed(TQListViewItem*) ), this, TQ_SLOT( execute() ) );
connect( comboHeadline, TQ_SIGNAL( activated(int) ), this, TQ_SLOT(updateItems() ) );
m_data = data;
connect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) );
connect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) );
connect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
connect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
}
HelpDialog::~HelpDialog()
{
disconnect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) );
disconnect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) );
disconnect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
disconnect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
}
void HelpDialog::execute()

@ -33,7 +33,7 @@ class TDEListView;
class KPushButton;
class HelpDialogData : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
HelpDialogData() {}
@ -74,7 +74,7 @@ class HelpDialogData : public TQObject {
class HelpDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
HelpDialog( HelpDialogData* data, TQWidget* parent = 0,

@ -15,7 +15,7 @@
* *
***************************************************************************/
// QT includes
// TQt includes
#include <tqlistbox.h>
// Own includes
@ -55,11 +55,11 @@ KMyHistoryCombo::KMyHistoryCombo( bool customPopup, TQWidget* parent, const char
setCompletionMode( (TDEGlobalSettings::Completion)config->readNumEntry( "CompletionMode",
TDEGlobalSettings::completionMode() ) );
connect( this, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( textChangedGovernor() ) );
connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SIGNAL( delayedTextChanged() ) );
connect( this, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( textChangedGovernor() ) );
connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SIGNAL( delayedTextChanged() ) );
if( customPopup )
connect( this, TQT_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQT_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) );
connect( this, TQ_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQ_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) );
}
KMyHistoryCombo::~KMyHistoryCombo()
@ -128,7 +128,7 @@ void KMyHistoryCombo::slotCustomContextMenu( TQPopupMenu* p )
krename->insertItem( i18n("&Number"), KRENAME_NUMBER );
krename->insertItem( i18n("&Date"), KRENAME_DATE );
connect( krename, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotInsertKRenameCommand( int ) ) );
connect( krename, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotInsertKRenameCommand( int ) ) );
p->insertSeparator( 0 );
p->insertItem( i18n("Insert &KRename token"), krename, 0, 0 );

@ -18,7 +18,7 @@
#ifndef KMYHISTORYCOMBO_H
#define KMYHISTORYCOMBO_H
// KDE includes
// TDE includes
#include <kcombobox.h>
#include <kcompletion.h>
@ -26,7 +26,7 @@ class TQPopupMenu;
class TQTimer;
class KMyHistoryCombo : public KHistoryCombo {
Q_OBJECT
TQ_OBJECT
public:
/** Create a new KMyHistoryCombo which has automatic KRename default history

@ -15,7 +15,7 @@
* *
***************************************************************************/
// QT includes
// TQt includes
#include <tqcursor.h>
#include <tqdir.h>
#include <tqdragobject.h>
@ -23,7 +23,7 @@
#include <tqpalette.h>
#include <tqregexp.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kdirlister.h>
#include <kiconloader.h>
@ -58,9 +58,9 @@ KMyListBox::KMyListBox(TQWidget* parent, const char* name, WFlags fl)
setAcceptDrops( true );
setSelectionMode(Extended); // was extended before 2.9.0
connect( this, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*)));
connect( this, TQT_SIGNAL(returnPressed(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*)));
connect( label, TQT_SIGNAL( leftClickedURL() ), this, TQT_SIGNAL( addFiles() ) );
connect( this, TQ_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
connect( this, TQ_SIGNAL(returnPressed(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
connect( label, TQ_SIGNAL( leftClickedURL() ), this, TQ_SIGNAL( addFiles() ) );
positionLabel();
}
@ -335,9 +335,9 @@ void KMyListBox::select( TQListBoxItem* item )
void KMyListBox::preview( KURL::List list )
{
TDEIO::PreviewJob* job = TDEIO::filePreview( list, previewSize, previewSize, 0, 100, false, true, 0 );
connect( job, TQT_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQT_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) );
connect( job, TQT_SIGNAL( failed( const KFileItem*)), this, TQT_SLOT( previewFailed( const KFileItem* ) ));
connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( previewFinished() ) );
connect( job, TQ_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQ_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) );
connect( job, TQ_SIGNAL( failed( const KFileItem*)), this, TQ_SLOT( previewFailed( const KFileItem* ) ));
connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( previewFinished() ) );
TDEApplication::setOverrideCursor( TQt::waitCursor );
}

@ -18,7 +18,7 @@
#ifndef KMYLISTBOX_H
#define KMYLISTBOX_H
// KDE includes
// TDE includes
#include <tdelistbox.h>
#include <kurl.h>
#include <tdefileitem.h>
@ -36,7 +36,7 @@ class TQPixmap;
class TQPainter;
class TQPoint;
class KMyListBox : public TDEListBox {
Q_OBJECT
TQ_OBJECT
public:
enum { ASCENDING = 1, DESCENDING = 2, RANDOM = 3, NUMMERIC = 4, UNSORTED = 0 };

@ -18,7 +18,7 @@
#include "kmylistview.h"
#include "myinputdialog.h"
// KDE includes
// TDE includes
#include <kiconloader.h>
#include <tdelocale.h>
#include <tdepopupmenu.h>
@ -30,10 +30,10 @@ KMyListView::KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _lis
changes = _changes;
list = _list;
connect( this, TQT_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ),
this, TQT_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) );
connect( this, TQT_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ),
this, TQT_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) );
connect( this, TQ_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ),
this, TQ_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) );
connect( this, TQ_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ),
this, TQ_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) );
setAllColumnsShowFocus( true );
}
@ -78,14 +78,14 @@ void KMyListView::showContext( TQListViewItem* item, const TQPoint& pos, int )
TDEPopupMenu* menu = new TDEPopupMenu( this );
if(item) {
menu->insertTitle( list->text( itemIndex( item ) ), 0, 0 );
menu->insertItem( i18n("&Change Filename Manually"), this, TQT_SLOT( changeCurrentItem() ), Key_F2 );
menu->insertItem( i18n("&Change Filename Manually"), this, TQ_SLOT( changeCurrentItem() ), Key_F2 );
menu->insertSeparator();
menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQT_SLOT( openCurrent() ) );
menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQ_SLOT( openCurrent() ) );
menu->insertSeparator();
}
menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQT_SLOT( addFiles() ) );
menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQ_SLOT( addFiles() ) );
if(item)
menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT( removeCurrentItem() ) );
menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT( removeCurrentItem() ) );
menu->popup( pos );
}

@ -25,7 +25,7 @@
class TQMouseEvent;
class KMyListView : public TDEListView {
Q_OBJECT
TQ_OBJECT
public:
KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _list, TQWidget* parent=0, const char* name=0 );

@ -72,7 +72,7 @@ void KRecursiveLister::slotListingComplete(){
}
}
TQTimer::singleShot( 0, this, TQT_SLOT( listNextDirectory() ));
TQTimer::singleShot( 0, this, TQ_SLOT( listNextDirectory() ));
}
/** Starts listing the specified url */
@ -82,7 +82,7 @@ void KRecursiveLister::startListing(const KURL& url){
lister->setShowingDotFiles( m_hidden );
lister->setNameFilter( m_filter );
lister->setDirOnlyMode( m_dirs );
connect(lister,TQT_SIGNAL(completed()), this, TQT_SLOT(slotListingComplete()) );
connect(lister,TQ_SIGNAL(completed()), this, TQ_SLOT(slotListingComplete()) );
}
lister->openURL( url, false, false );

@ -33,7 +33,7 @@
*/
class KRecursiveLister : public TQObject {
Q_OBJECT
TQ_OBJECT
public:

@ -36,7 +36,7 @@
#include "krenamedcop.h"
#include "profiledlg.h"
// KDE includes
// TDE includes
#include <dcopclient.h>
#include <tdeaboutapplication.h>
#include <tdeapplication.h>
@ -55,7 +55,7 @@
#include <tdelocale.h>
#include <tdeio/netaccess.h>
// QT includes
// TQt includes
#include <tqbuttongroup.h>
#include <tqcursor.h>
#include <tqgrid.h>
@ -120,47 +120,47 @@ void KRenameImpl::setup( bool wizardmode )
setupPages();
updateCount();
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addFile() ));
connect( buttonRemoveAll, TQT_SIGNAL( clicked()), this, TQT_SLOT( clearList() ));
connect( buttonRemove, TQT_SIGNAL( clicked()), this, TQT_SLOT( removeFile() ));
connect( buttonHelp, TQT_SIGNAL( clicked()), this, TQT_SLOT( showTokenHelp() ));
connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() ));
connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( optionRename, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( optionMove, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( optionCopy, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( optionLink, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( checkUndoScript, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() ));
connect( fileList, TQT_SIGNAL( updateCount()), this, TQT_SLOT( updateCount() ));
connect( fileList, TQT_SIGNAL( updatePreview()), this, TQT_SLOT( updatePreview() ));
connect( fileList, TQT_SIGNAL( deletePressed()), this, TQT_SLOT( removeFile() ));
connect( fileList, TQT_SIGNAL( addFiles()), this, TQT_SLOT( addFile() ));
connect( buttonUp, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveUp() ));
connect( buttonDown, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveDown() ));
connect( buttonUp, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
connect( buttonDown, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
connect( buttonUp2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveUp() ));
connect( buttonDown2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveDown() ));
connect( buttonReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() ));
connect( buttonEasyReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() ));
connect( buttonCoord, TQT_SIGNAL( clicked()), this, TQT_SLOT( getCoordinates() ));
connect( comboSort, TQT_SIGNAL( activated(int)), fileList, TQT_SLOT( setSorting(int) ));
connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addFile() ));
connect( buttonRemoveAll, TQ_SIGNAL( clicked()), this, TQ_SLOT( clearList() ));
connect( buttonRemove, TQ_SIGNAL( clicked()), this, TQ_SLOT( removeFile() ));
connect( buttonHelp, TQ_SIGNAL( clicked()), this, TQ_SLOT( showTokenHelp() ));
connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionRename, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionMove, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionCopy, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionLink, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( checkUndoScript, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( fileList, TQ_SIGNAL( updateCount()), this, TQ_SLOT( updateCount() ));
connect( fileList, TQ_SIGNAL( updatePreview()), this, TQ_SLOT( updatePreview() ));
connect( fileList, TQ_SIGNAL( deletePressed()), this, TQ_SLOT( removeFile() ));
connect( fileList, TQ_SIGNAL( addFiles()), this, TQ_SLOT( addFile() ));
connect( buttonUp, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveUp() ));
connect( buttonDown, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveDown() ));
connect( buttonUp, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( buttonDown, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( buttonUp2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveUp() ));
connect( buttonDown2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveDown() ));
connect( buttonReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
connect( buttonEasyReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
connect( buttonCoord, TQ_SIGNAL( clicked()), this, TQ_SLOT( getCoordinates() ));
connect( comboSort, TQ_SIGNAL( activated(int)), fileList, TQ_SLOT( setSorting(int) ));
connect( filename, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() ));
connect( extemplate, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() ));
connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() ));
connect( comboExtension, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( updatePreview() ));
connect( checkPreview, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleImagePreview() ));
connect( preview, TQT_SIGNAL( itemChanged() ), this, TQT_SLOT( updatePreview() ));
connect( preview, TQT_SIGNAL( removeItem(int) ), this, TQT_SLOT( removeFile(int) ));
connect( preview, TQT_SIGNAL( addFile() ), this, TQT_SLOT( addFile() ));
connect( undorequester, TQT_SIGNAL( urlSelected(const TQString &)), this, TQT_SLOT( changeUndoScriptName() ));
connect( kapp, TQT_SIGNAL( aboutToQuit() ), this, TQT_SLOT( saveConfig() ) );
connect( buttonMove, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveMode() ));
connect( checkName, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleName() ));
connect( buttonNumber, TQT_SIGNAL( clicked()), this, TQT_SLOT( changeNumbers() ));
connect( filename, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
connect( extemplate, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( comboExtension, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( updatePreview() ));
connect( checkPreview, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleImagePreview() ));
connect( preview, TQ_SIGNAL( itemChanged() ), this, TQ_SLOT( updatePreview() ));
connect( preview, TQ_SIGNAL( removeItem(int) ), this, TQ_SLOT( removeFile(int) ));
connect( preview, TQ_SIGNAL( addFile() ), this, TQ_SLOT( addFile() ));
connect( undorequester, TQ_SIGNAL( urlSelected(const TQString &)), this, TQ_SLOT( changeUndoScriptName() ));
connect( kapp, TQ_SIGNAL( aboutToQuit() ), this, TQ_SLOT( saveConfig() ) );
connect( buttonMove, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveMode() ));
connect( checkName, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleName() ));
connect( buttonNumber, TQ_SIGNAL( clicked()), this, TQ_SLOT( changeNumbers() ));
// Load Configuration
loadConfig();
@ -287,7 +287,7 @@ void KRenameImpl::parseCommandline()
if( fileList->count() )
// start renaming
TQTimer::singleShot( 200, this, TQT_SLOT( start() ) );
TQTimer::singleShot( 200, this, TQ_SLOT( start() ) );
}
}
@ -300,23 +300,23 @@ void KRenameImpl::setupActions()
KHelpMenu* mnuHelp = new KHelpMenu( parent );
menuBar->insertItem( i18n("E&xtras"), mnuExtra );
mnuExtra->insertItem( i18n("&Profiles..."), this, TQT_SLOT( manageProfiles() ) );
mnuExtra->insertItem( i18n("&Profiles..."), this, TQ_SLOT( manageProfiles() ) );
mnuExtra->insertSeparator();
mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQT_SLOT( undo() ) );
mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQ_SLOT( undo() ) );
menuBar->insertItem( i18n("&Settings"), mnuSettings );
menuBar->insertSeparator();
menuBar->insertItem( i18n("&Help"), mnuHelp->menu() );
TDEAction* prefAct = KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection );
loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQT_SLOT( loadFilePlugins() ), actionCollection );
TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQT_SLOT( reloadFilePluginData() ), actionCollection );
TDEAction* prefAct = KStdAction::preferences( this, TQ_SLOT(preferences()), actionCollection );
loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQ_SLOT( loadFilePlugins() ), actionCollection );
TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQ_SLOT( reloadFilePluginData() ), actionCollection );
prefAct->plug( mnuSettings );
mnuSettings->insertSeparator();
loadPlugins->plug( mnuSettings );
reloadAct->plug( mnuSettings );
connect( mnuHelp, TQT_SIGNAL(showAboutApplication()), this, TQT_SLOT(about()));
connect( mnuHelp, TQ_SIGNAL(showAboutApplication()), this, TQ_SLOT(about()));
}
void KRenameImpl::setupPages()
@ -422,7 +422,7 @@ void KRenameImpl::setupPage2()
groupOptions = new TQButtonGroup( page_2 );
groupOptions->setTitle( i18n( "O&ptions" ) );
groupOptions->setColumnLayout(0, Qt::Vertical );
groupOptions->setColumnLayout(0, TQt::Vertical );
groupOptions->layout()->setSpacing( 6 );
groupOptions->layout()->setMargin( 11 );
groupOptionsLayout = new TQVBoxLayout( groupOptions->layout() );
@ -721,16 +721,16 @@ void KRenameImpl::setupFileTab2()
enableControls();
connect( comboPrefix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed()));
connect( comboSuffix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed()));
connect( comboKRenameFilename, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed()));
connect( comboCustom, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() ));
connect( comboKRenamePrefix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed()));
connect( comboKRenameExtension, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed()));
connect( comboCustomExtension, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() ));
connect( comboKRenameSuffix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed()));
connect( spinNull, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() ));
connect( spinStart, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() ));
connect( comboPrefix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
connect( comboSuffix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
connect( comboKRenameFilename, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
connect( comboCustom, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
connect( comboKRenamePrefix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
connect( comboKRenameExtension, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
connect( comboCustomExtension, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
connect( comboKRenameSuffix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
connect( spinNull, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
connect( spinStart, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
buttonEasy1->setIconSet( SmallIcon("help") );
buttonEasy2->setIconSet( SmallIcon("help") );
@ -744,10 +744,10 @@ void KRenameImpl::setupFileTab2()
const TQString easy_text( i18n("<qt>Insert a special KRename command which inserts file information into the filename.</qt>") );
connect( buttonEasy1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy1() ) );
connect( buttonEasy2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy2() ) );
connect( buttonEasy3, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy3() ) );
connect( buttonEasy4, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy4() ) );
connect( buttonEasy1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy1() ) );
connect( buttonEasy2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy2() ) );
connect( buttonEasy3, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy3() ) );
connect( buttonEasy4, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy4() ) );
TQToolTip::add( buttonEasy1, easy_text );
TQToolTip::add( buttonEasy2, easy_text );
@ -899,8 +899,8 @@ void KRenameImpl::setupTab1()
gLayout = new TQVBoxLayout( g, 11, 6, "gLayout" );
(*it)->check = new TQCheckBox( i18n("&Use this plugin"), parent );
connect( (*it)->check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( pluginHelpChanged() ) );
connect( (*it)->plugin, TQT_SIGNAL( previewChanged( Plugin* ) ), this, TQT_SLOT( updatePluginPreview( Plugin* ) ) );
connect( (*it)->check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( pluginHelpChanged() ) );
connect( (*it)->plugin, TQ_SIGNAL( previewChanged( Plugin* ) ), this, TQ_SLOT( updatePluginPreview( Plugin* ) ) );
Layout->addWidget( (*it)->check );
(*it)->plugin->drawInterface( g, gLayout );
@ -1641,7 +1641,7 @@ void KRenameImpl::changeParent( TQWidget* p, KMenuBar* m, TQPushButton* finish,
menuBar = m;
finishButton = finish;
connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() ));
connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
if( !r.isNull() ) {
parent->resize( r.size() );

@ -62,7 +62,7 @@ class TQWidget;
KPushButton* createButton( KGuiItem item, TQWidget* parent );
class KRenameImpl : public TQObject, public KRenameDCOP {
Q_OBJECT
TQ_OBJECT
friend class ProfileManager;

@ -19,7 +19,7 @@
#include <tqrect.h>
#include <tqwidget.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdeaboutapplication.h>
#include <tdecmdlineargs.h>
@ -118,7 +118,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication a;
a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &a, TQT_SLOT( quit() ) );
a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
KImageIO::registerFormats();

@ -18,13 +18,13 @@
// Own includes
#include "mydirplugin.h"
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <tdefiledialog.h>
#include <tdelocale.h>
// QT includes
// TQt includes
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqlineedit.h>
@ -73,7 +73,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupNumber = new TQGroupBox( w );
groupNumber->setTitle( i18n( "&Options" ) );
groupNumber->setColumnLayout(0, Qt::Vertical );
groupNumber->setColumnLayout(0, TQt::Vertical );
groupNumber->layout()->setSpacing( 6 );
groupNumber->layout()->setMargin( 11 );
groupNumberLayout = new TQHBoxLayout( groupNumber->layout() );
@ -103,7 +103,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupOutput = new TQGroupBox( w );
groupOutput->setTitle( i18n( "Output &Directory" ) );
groupOutput->setColumnLayout(0, Qt::Vertical );
groupOutput->setColumnLayout(0, TQt::Vertical );
groupOutput->layout()->setSpacing( 6 );
groupOutput->layout()->setMargin( 11 );
groupOutputLayout = new TQHBoxLayout( groupOutput->layout() );
@ -120,7 +120,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOutput );
l->addItem( spacer2 );
connect( buttonDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseDir()));
connect( buttonDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseDir()));
}
void MyDirPlugin::fillStructure()

@ -33,7 +33,7 @@ class TQString;
class TQVBoxLayout;
class TQWidget;
class MyDirPlugin : public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -67,10 +67,10 @@ MyInputDialog::MyInputDialog( TQString filename, bool revertEnabled, TQWidget* p
MyInputDialogLayout->addWidget( text );
MyInputDialogLayout->addLayout( Layout );
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
connect( buttonKrename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( krename() ) );
connect( buttonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotFilename() ) );
connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
connect( buttonKrename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( krename() ) );
connect( buttonFilename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotFilename() ) );
TQToolTip::add( buttonKrename, i18n("Use the filename that is generated by "
"KRename instead of your changes." ) );

@ -29,7 +29,7 @@ class TQLabel;
class TQString;
class MyInputDialog : public TQDialog
{
Q_OBJECT
TQ_OBJECT
public:
MyInputDialog( TQString filename, bool revertEnabled = true, TQWidget* parent = 0 );

@ -23,7 +23,7 @@
#include <tqlayout.h>
#include <tqtooltip.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <tdelocale.h>
@ -46,7 +46,7 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQGroupBox* group1 = new TQGroupBox( plainPage() );
group1->setTitle( i18n("&Numbering") );
group1->setColumnLayout(0, Qt::Vertical );
group1->setColumnLayout(0, TQt::Vertical );
group1->layout()->setSpacing( 6 );
group1->layout()->setMargin( 11 );
TQVBoxLayout* group1Layout = new TQVBoxLayout( group1->layout() );
@ -65,7 +65,7 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQGroupBox* group2 = new TQGroupBox( plainPage() );
group2->setTitle( i18n("S&kip Numbers") );
group2->setColumnLayout(0, Qt::Horizontal );
group2->setColumnLayout(0, TQt::Horizontal );
group2->layout()->setSpacing( 6 );
group2->layout()->setMargin( 11 );
TQHBoxLayout* group2Layout = new TQHBoxLayout( group2->layout() );
@ -108,9 +108,9 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQToolTip::add( checkResetCounter, i18n("<qt>The counter is set to the start index in every directory. "
"This setting applies to all used counters.</qt>" ) );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addNumber() ) );
connect( buttonRemove,TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeNumber() ) );
connect( spinNumber, TQT_SIGNAL( returnPressed()), this, TQT_SLOT( addNumber() ) );
connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addNumber() ) );
connect( buttonRemove,TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeNumber() ) );
connect( spinNumber, TQ_SIGNAL( returnPressed()), this, TQ_SLOT( addNumber() ) );
for( unsigned int i = 0; i < n.count(); i++ )
listNumbers->insertItem( TQString("%1").arg(n[i]), -1 );

@ -22,12 +22,12 @@
#include <kdialogbase.h>
#include <tqvaluelist.h>
// KDE includes
// TDE includes
#include <knuminput.h>
class KMyIntSpinBox : public KIntSpinBox
{
Q_OBJECT
TQ_OBJECT
public:
KMyIntSpinBox( TQWidget* parent )
@ -45,7 +45,7 @@ class KIntNumInput;
class TDEListBox;
class KPushButton;
class NumberDialog : public KDialogBase {
Q_OBJECT
TQ_OBJECT
public:
NumberDialog(TQValueList<int> & n,TQWidget *parent=0);

@ -17,13 +17,13 @@
#include "permission.h"
// QT includes
// TQt includes
#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <tqlayout.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kcombobox.h>
#include <kiconloader.h>
@ -136,7 +136,7 @@ void MyPermPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupOwner = new TQGroupBox ( i18n("Ownership"), w );
groupOwner->setEnabled( FALSE );
groupOwner->setColumnLayout(0, Qt::Vertical );
groupOwner->setColumnLayout(0, TQt::Vertical );
groupOwner->layout()->setSpacing( 6 );
groupOwner->layout()->setMargin( 11 );
groupOwnerLayout = new TQVBoxLayout( groupOwner->layout() );
@ -222,8 +222,8 @@ void MyPermPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOwner );
l->addItem( spacer10 );
connect( checkOwner, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) );
connect( checkPermissions, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) );
connect( checkOwner, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
connect( checkPermissions, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
}
void MyPermPlugin::fillStructure()

@ -40,7 +40,7 @@ class TQWidget;
// Plugin class starts here
class MyPermPlugin: public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -17,10 +17,10 @@
#include "pictureplugin.h"
// QT includes
// TQt includes
#include <tqimage.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdelocale.h>

@ -27,7 +27,7 @@ class TQHBoxLayout;
class TQString;
class TQWidget;
class PicturePlugin : public FilePlugin {
Q_OBJECT
TQ_OBJECT
public:
PicturePlugin();

@ -29,7 +29,7 @@ class TQStringList;
class TQWidget;
class TQVBoxLayout;
class Plugin : public TQObject {
Q_OBJECT
TQ_OBJECT
public:
Plugin();

@ -33,11 +33,11 @@
#include "encodingplugin.h"
#include "translitplugin.h"
// QT includes
// TQt includes
#include <tqregexp.h>
#include <tqstringlist.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kservice.h>

@ -430,12 +430,12 @@ ProfileDlg::ProfileDlg(KRenameImpl* krename, TQWidget *parent, const char *name)
enableControls();
connect( createProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCreateProfile() ) );
connect( loadProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotLoadProfile() ) );
connect( deleteProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotDeleteProfile() ) );
connect( profiles, TQT_SIGNAL( selectionChanged () ), this, TQT_SLOT( enableControls() ) );
connect( checkDefault, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSetDefault() ) );
connect( this, TQT_SIGNAL( hidden() ), this, TQT_SLOT( slotHidden() ) );
connect( createProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCreateProfile() ) );
connect( loadProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLoadProfile() ) );
connect( deleteProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDeleteProfile() ) );
connect( profiles, TQ_SIGNAL( selectionChanged () ), this, TQ_SLOT( enableControls() ) );
connect( checkDefault, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSetDefault() ) );
connect( this, TQ_SIGNAL( hidden() ), this, TQ_SLOT( slotHidden() ) );
TDEConfig* conf = kapp->config();
conf->setGroup( "ProfilesHeader" );

@ -53,7 +53,7 @@ class ProfileManager {
*/
class ProfileDlg : public KDialogBase, public ProfileManager
{
Q_OBJECT
TQ_OBJECT
public:

@ -18,14 +18,14 @@
// Own includes
#include "replacedialog.h"
// QT includes
// TQt includes
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqlineedit.h>
#include <tqlayout.h>
#include <tqregexp.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <tdelocale.h>
@ -96,15 +96,15 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent
text1->setFocus();
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) );
connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) );
connect( list, TQT_SIGNAL( clicked( TQListViewItem* ) ), this, TQT_SLOT( enableControls() ) );
connect( list, TQT_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQT_SLOT( slotEdit() ) );
connect( text2, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( add() ) );
connect( text1, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( moveFocus() ) );
connect( buttonRegEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( invokeRegEdit() ) );
connect( checkReg, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) );
connect( buttonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEdit() ) );
connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
connect( list, TQ_SIGNAL( clicked( TQListViewItem* ) ), this, TQ_SLOT( enableControls() ) );
connect( list, TQ_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQ_SLOT( slotEdit() ) );
connect( text2, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( add() ) );
connect( text1, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( moveFocus() ) );
connect( buttonRegEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( invokeRegEdit() ) );
connect( checkReg, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( buttonEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEdit() ) );
for( unsigned int i = 0; i < r.count(); i++ ) {
replacestrings rs = r[i];
@ -190,7 +190,7 @@ void ReplaceDialog::moveFocus()
void ReplaceDialog::invokeRegEdit()
{
TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) );
if ( !iface )

@ -18,7 +18,7 @@
#ifndef REPLACEDIALOG_H
#define REPLACEDIALOG_H
// QT includes
// TQt includes
#include <kdialogbase.h>
#include <tqvaluelist.h>
@ -35,7 +35,7 @@ class TQListViewItem;
class TDEListView;
class ReplaceDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:

File diff suppressed because one or more lines are too long

@ -24,7 +24,7 @@
#include <tqsizepolicy.h>
#include <tqtabwidget.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <tdelocale.h>
@ -60,14 +60,14 @@ tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
menuBar = new KMenuBar( this );
layout->setMenuBar( menuBar );
connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( close() ) );
connect( cancelButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( close() ) );
krename = impl ? impl : new KRenameImpl( this, menuBar, finishButton );
connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) );
connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) );
connect( tab, TQT_SIGNAL( currentChanged( TQWidget* ) ), this, TQT_SLOT( slotTabChanged() ) );
connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
connect( tab, TQ_SIGNAL( currentChanged( TQWidget* ) ), this, TQ_SLOT( slotTabChanged() ) );
if( impl )
{

@ -29,7 +29,7 @@ class TQRect;
class TQString;
class TQTabWidget;
class tabs : public TQDialog {
Q_OBJECT
TQ_OBJECT
public:
tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0);

@ -67,7 +67,7 @@ void ThreadedLister::run()
m_reclister->setNameFilter( m_filter );
m_reclister->setDirOnlyMode( m_dironly );
connect( m_reclister, TQT_SIGNAL( completed() ), this, TQT_SLOT( reclisterFinished() ) );
connect( m_reclister, TQ_SIGNAL( completed() ), this, TQ_SLOT( reclisterFinished() ) );
m_reclister->openURL( m_dirname );
} else {
@ -77,7 +77,7 @@ void ThreadedLister::run()
m_lister->setShowingDotFiles( m_hidden );
m_lister->setNameFilter( m_filter );
connect( m_lister, TQT_SIGNAL( completed() ), this, TQT_SLOT( listerFinished() ) );
connect( m_lister, TQ_SIGNAL( completed() ), this, TQ_SLOT( listerFinished() ) );
m_lister->openURL( m_dirname, false, false );
}

@ -49,7 +49,7 @@ class FileList : public TQPtrList<KFileItem> {
class ThreadedLister : public TQObject, public TQThread
{
Q_OBJECT
TQ_OBJECT
public:
ThreadedLister( TQMutex* mutex, unsigned int* counter, KMyListBox* list );

@ -16,14 +16,14 @@
#include "pluginloader.h"
#include "batchrenamer.h"
// QT includes
// TQt includes
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqtextcodec.h>
#include <tqvgroupbox.h>
#include <tqcheckbox.h>
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <tdelocale.h>
@ -34,7 +34,7 @@
@author Dominik Seichter
*/
class TranslitPlugin : public Plugin {
Q_OBJECT
TQ_OBJECT
public:
const TQString getName() const;

@ -21,7 +21,7 @@
#include <tqlabel.h>
#include <tqlayout.h>
// KDE includes
// TDE includes
#include <tdefiledialog.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
@ -59,8 +59,8 @@ UndoDialog::UndoDialog( TQWidget* parent )
setButtonText( KDialogBase::User1, i18n( "&Start" ) );
connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( start() ) );
connect( scriptname, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( enableControls() ) );
connect( this, TQ_SIGNAL( user1Clicked() ), this, TQ_SLOT( start() ) );
connect( scriptname, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( enableControls() ) );
enableControls();
}
@ -89,9 +89,9 @@ void UndoDialog::start()
return;
}
proc->resume();
connect( proc, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQT_SLOT( receive( TDEProcess*, char*, int ) ) );
connect( proc, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQT_SLOT( receiveErr( TDEProcess*, char*, int ) ) );
connect( proc, TQT_SIGNAL( processExited( TDEProcess* ) ), this, TQT_SLOT( finished( TDEProcess* ) ) );
connect( proc, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQ_SLOT( receive( TDEProcess*, char*, int ) ) );
connect( proc, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQ_SLOT( receiveErr( TDEProcess*, char*, int ) ) );
connect( proc, TQ_SIGNAL( processExited( TDEProcess* ) ), this, TQ_SLOT( finished( TDEProcess* ) ) );
}
void UndoDialog::receive( TDEProcess*, char* buffer, int len )

@ -30,7 +30,7 @@ class TQGridLayout;
class TQLabel;
class UndoDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
UndoDialog( TQWidget* parent = 0 );

@ -19,7 +19,7 @@
#include "wizard.h"
#include "krenameimpl.h"
// KDE includes
// TDE includes
#include <tdeapplication.h>
#include <kiconloader.h>
#include <tdelocale.h>
@ -42,9 +42,9 @@ wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name
krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() );
connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) );
connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) );
connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
if( impl )
{

@ -18,7 +18,7 @@
#ifndef WIZARD_H
#define WIZARD_H
// KDE includes
// TDE includes
#include <kwizard.h>
class TQCloseEvent;
class KRenameImpl;
@ -31,7 +31,7 @@ class TQVBoxLayout;
class TQWidget;
class wizard : public KWizard
{
Q_OBJECT
TQ_OBJECT
public:

@ -0,0 +1,24 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Andrei Stepanov <adem4ik@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-02 14:58+0200\n"
"PO-Revision-Date: 2023-12-01 10:13+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/krename-servicemenus/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: krename_dir.desktop:8 krenameservicemenu.desktop:9
msgid "Rename with KRename"
msgstr "Переименовать с KRename"

@ -164,7 +164,7 @@ msgid ""
"<qt>Executes a shell command on every file after it has been renamed. Add %1 "
"to the command line arguments to get the filename of the renamed file.</qt>"
msgstr ""
"<qt >Su ciascun file rinominato esegue un comando (di shell). Il parametro "
"<qt>Su ciascun file rinominato esegue un comando (di shell). Il parametro "
"%1, come argomento del comando, viene sostituito con il nome del file già "
"rinominato.</qt>"

Loading…
Cancel
Save