Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
c757c3f4
Commit
c757c3f4
authored
May 08, 2009
by
Alessandro Portale
Browse files
Rename QWORKBENCH_UTILS_EXPORT to QTCREATOR_UTILS_EXPORT
Rename QWORKBENCH_UTILS_LIBRARY to QTCREATOR_UTILS_LIBRARY
parent
2be72262
Changes
31
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/abstractprocess.h
View file @
c757c3f4
...
...
@@ -37,7 +37,7 @@
namespace
Core
{
namespace
Utils
{
class
Q
WORKBENCH
_UTILS_EXPORT
AbstractProcess
class
Q
TCREATOR
_UTILS_EXPORT
AbstractProcess
{
public:
AbstractProcess
()
{}
...
...
src/libs/utils/basevalidatinglineedit.h
View file @
c757c3f4
...
...
@@ -50,7 +50,7 @@ struct BaseValidatingLineEditPrivate;
* "<Enter name here>". This results in state 'DisplayingInitialText', which
* is not valid, but is not marked red.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
BaseValidatingLineEdit
:
public
QLineEdit
class
Q
TCREATOR
_UTILS_EXPORT
BaseValidatingLineEdit
:
public
QLineEdit
{
Q_OBJECT
Q_DISABLE_COPY
(
BaseValidatingLineEdit
)
...
...
src/libs/utils/classnamevalidatinglineedit.h
View file @
c757c3f4
...
...
@@ -41,7 +41,7 @@ struct ClassNameValidatingLineEditPrivate;
/* A Line edit that validates a C++ class name and emits a signal
* to derive suggested file names from it. */
class
Q
WORKBENCH
_UTILS_EXPORT
ClassNameValidatingLineEdit
class
Q
TCREATOR
_UTILS_EXPORT
ClassNameValidatingLineEdit
:
public
Core
::
Utils
::
BaseValidatingLineEdit
{
Q_DISABLE_COPY
(
ClassNameValidatingLineEdit
)
...
...
src/libs/utils/codegeneration.cpp
View file @
c757c3f4
...
...
@@ -53,7 +53,7 @@ static QString toAlphaNum(const QString &s)
return
rc
;
}
Q
WORKBENCH
_UTILS_EXPORT
QString
headerGuard
(
const
QString
&
file
)
Q
TCREATOR
_UTILS_EXPORT
QString
headerGuard
(
const
QString
&
file
)
{
const
QFileInfo
fi
(
file
);
QString
rc
=
toAlphaNum
(
fi
.
completeBaseName
()).
toUpper
();
...
...
@@ -62,7 +62,7 @@ QWORKBENCH_UTILS_EXPORT QString headerGuard(const QString &file)
return
rc
;
}
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
void
writeIncludeFileDirective
(
const
QString
&
file
,
bool
globalInclude
,
QTextStream
&
str
)
{
...
...
@@ -71,7 +71,7 @@ void writeIncludeFileDirective(const QString &file, bool globalInclude,
str
<<
QLatin1String
(
"#include "
)
<<
opening
<<
file
<<
closing
<<
QLatin1Char
(
'\n'
);
}
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
QString
writeOpeningNameSpaces
(
const
QStringList
&
l
,
const
QString
&
indent
,
QTextStream
&
str
)
{
...
...
@@ -87,7 +87,7 @@ QString writeOpeningNameSpaces(const QStringList &l, const QString &indent,
return
rc
;
}
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
void
writeClosingNameSpaces
(
const
QStringList
&
l
,
const
QString
&
indent
,
QTextStream
&
str
)
{
...
...
src/libs/utils/codegeneration.h
View file @
c757c3f4
...
...
@@ -41,22 +41,22 @@ QT_END_NAMESPACE
namespace
Core
{
namespace
Utils
{
Q
WORKBENCH
_UTILS_EXPORT
QString
headerGuard
(
const
QString
&
file
);
Q
TCREATOR
_UTILS_EXPORT
QString
headerGuard
(
const
QString
&
file
);
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
void
writeIncludeFileDirective
(
const
QString
&
file
,
bool
globalInclude
,
QTextStream
&
str
);
// Write opening namespaces and return an indentation string to be used
// in the following code if there are any.
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
QString
writeOpeningNameSpaces
(
const
QStringList
&
namespaces
,
const
QString
&
indent
,
QTextStream
&
str
);
// Close namespacesnamespaces
Q
WORKBENCH
_UTILS_EXPORT
Q
TCREATOR
_UTILS_EXPORT
void
writeClosingNameSpaces
(
const
QStringList
&
namespaces
,
const
QString
&
indent
,
QTextStream
&
str
);
...
...
src/libs/utils/consoleprocess.h
View file @
c757c3f4
...
...
@@ -54,7 +54,7 @@ QT_END_NAMESPACE
namespace
Core
{
namespace
Utils
{
class
Q
WORKBENCH
_UTILS_EXPORT
ConsoleProcess
:
public
QObject
,
public
AbstractProcess
class
Q
TCREATOR
_UTILS_EXPORT
ConsoleProcess
:
public
QObject
,
public
AbstractProcess
{
Q_OBJECT
...
...
src/libs/utils/fancylineedit.h
View file @
c757c3f4
...
...
@@ -46,7 +46,7 @@ class FancyLineEditPrivate;
* text if isShowingHintText() returns true (that is, does not contain
* valid user input).
*/
class
Q
WORKBENCH
_UTILS_EXPORT
FancyLineEdit
:
public
QLineEdit
class
Q
TCREATOR
_UTILS_EXPORT
FancyLineEdit
:
public
QLineEdit
{
Q_DISABLE_COPY
(
FancyLineEdit
)
Q_OBJECT
...
...
src/libs/utils/filenamevalidatinglineedit.h
View file @
c757c3f4
...
...
@@ -39,7 +39,7 @@ namespace Utils {
* A control that let's the user choose a file name, based on a QLineEdit. Has
* some validation logic for embedding into QWizardPage.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
FileNameValidatingLineEdit
:
public
BaseValidatingLineEdit
class
Q
TCREATOR
_UTILS_EXPORT
FileNameValidatingLineEdit
:
public
BaseValidatingLineEdit
{
Q_OBJECT
Q_DISABLE_COPY
(
FileNameValidatingLineEdit
)
...
...
src/libs/utils/filesearch.h
View file @
c757c3f4
...
...
@@ -39,7 +39,7 @@
namespace
Core
{
namespace
Utils
{
class
Q
WORKBENCH
_UTILS_EXPORT
FileSearchResult
class
Q
TCREATOR
_UTILS_EXPORT
FileSearchResult
{
public:
FileSearchResult
()
{}
...
...
@@ -54,10 +54,10 @@ public:
int
matchLength
;
};
Q
WORKBENCH
_UTILS_EXPORT
QFuture
<
FileSearchResult
>
findInFiles
(
const
QString
&
searchTerm
,
const
QStringList
&
files
,
Q
TCREATOR
_UTILS_EXPORT
QFuture
<
FileSearchResult
>
findInFiles
(
const
QString
&
searchTerm
,
const
QStringList
&
files
,
QTextDocument
::
FindFlags
flags
);
Q
WORKBENCH
_UTILS_EXPORT
QFuture
<
FileSearchResult
>
findInFilesRegExp
(
const
QString
&
searchTerm
,
const
QStringList
&
files
,
Q
TCREATOR
_UTILS_EXPORT
QFuture
<
FileSearchResult
>
findInFilesRegExp
(
const
QString
&
searchTerm
,
const
QStringList
&
files
,
QTextDocument
::
FindFlags
flags
);
}
// namespace Utils
...
...
src/libs/utils/filewizarddialog.h
View file @
c757c3f4
...
...
@@ -44,7 +44,7 @@ class FileWizardPage;
and path. Custom pages can be added via Core::IWizardExtension.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
FileWizardDialog
:
public
QWizard
{
class
Q
TCREATOR
_UTILS_EXPORT
FileWizardDialog
:
public
QWizard
{
Q_OBJECT
Q_DISABLE_COPY
(
FileWizardDialog
)
public:
...
...
src/libs/utils/filewizardpage.h
View file @
c757c3f4
...
...
@@ -46,7 +46,7 @@ struct FileWizardPagePrivate;
* The name and path labels can be changed. By default they are simply "Name:"
* and "Path:".
*/
class
Q
WORKBENCH
_UTILS_EXPORT
FileWizardPage
:
public
QWizardPage
class
Q
TCREATOR
_UTILS_EXPORT
FileWizardPage
:
public
QWizardPage
{
Q_OBJECT
Q_DISABLE_COPY
(
FileWizardPage
)
...
...
src/libs/utils/linecolumnlabel.h
View file @
c757c3f4
...
...
@@ -39,7 +39,7 @@ namespace Utils {
/* A label suitable for displaying cursor positions, etc. with a fixed
* with derived from a sample text. */
class
Q
WORKBENCH
_UTILS_EXPORT
LineColumnLabel
:
public
QLabel
class
Q
TCREATOR
_UTILS_EXPORT
LineColumnLabel
:
public
QLabel
{
Q_DISABLE_COPY
(
LineColumnLabel
)
Q_OBJECT
...
...
src/libs/utils/newclasswidget.h
View file @
c757c3f4
...
...
@@ -49,7 +49,7 @@ struct NewClassWidgetPrivate;
* names for header, source and form files. Has some smart logic to derive
* the file names from the class name.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
NewClassWidget
:
public
QWidget
class
Q
TCREATOR
_UTILS_EXPORT
NewClassWidget
:
public
QWidget
{
Q_DISABLE_COPY
(
NewClassWidget
)
Q_OBJECT
...
...
src/libs/utils/pathchooser.h
View file @
c757c3f4
...
...
@@ -43,7 +43,7 @@ struct PathChooserPrivate;
* A control that let's the user choose a path, consisting of a QLineEdit and
* a "Browse" button. Has some validation logic for embedding into QWizardPage.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
PathChooser
:
public
QWidget
class
Q
TCREATOR
_UTILS_EXPORT
PathChooser
:
public
QWidget
{
Q_DISABLE_COPY
(
PathChooser
)
Q_OBJECT
...
...
src/libs/utils/pathlisteditor.h
View file @
c757c3f4
...
...
@@ -55,7 +55,7 @@ struct PathListEditorPrivate;
* by new line characters for convenience.
*/
class
Q
WORKBENCH
_UTILS_EXPORT
PathListEditor
:
public
QWidget
class
Q
TCREATOR
_UTILS_EXPORT
PathListEditor
:
public
QWidget
{
Q_DISABLE_COPY
(
PathListEditor
)
Q_OBJECT
...
...
src/libs/utils/projectintropage.h
View file @
c757c3f4
...
...
@@ -52,7 +52,7 @@ struct ProjectIntroPagePrivate;
* layout, otherwise, QWizard will squeeze it due to its strange expanding
* hacks. */
class
Q
WORKBENCH
_UTILS_EXPORT
ProjectIntroPage
:
public
QWizardPage
class
Q
TCREATOR
_UTILS_EXPORT
ProjectIntroPage
:
public
QWizardPage
{
Q_OBJECT
Q_DISABLE_COPY
(
ProjectIntroPage
)
...
...
src/libs/utils/projectnamevalidatinglineedit.h
View file @
c757c3f4
...
...
@@ -35,7 +35,7 @@
namespace
Core
{
namespace
Utils
{
class
Q
WORKBENCH
_UTILS_EXPORT
ProjectNameValidatingLineEdit
:
public
BaseValidatingLineEdit
class
Q
TCREATOR
_UTILS_EXPORT
ProjectNameValidatingLineEdit
:
public
BaseValidatingLineEdit
{
Q_OBJECT
Q_DISABLE_COPY
(
ProjectNameValidatingLineEdit
)
...
...
src/libs/utils/qtcolorbutton.h
View file @
c757c3f4
...
...
@@ -37,7 +37,7 @@
namespace
Core
{
namespace
Utils
{
class
Q
WORKBENCH
_UTILS_EXPORT
QtColorButton
:
public
QToolButton
class
Q
TCREATOR
_UTILS_EXPORT
QtColorButton
:
public
QToolButton
{
Q_OBJECT
Q_PROPERTY
(
bool
backgroundCheckered
READ
isBackgroundCheckered
WRITE
setBackgroundCheckered
)
...
...
src/libs/utils/reloadpromptutils.cpp
View file @
c757c3f4
...
...
@@ -34,7 +34,7 @@
using
namespace
Core
;
using
namespace
Core
::
Utils
;
Q
WORKBENCH
_UTILS_EXPORT
Core
::
Utils
::
ReloadPromptAnswer
Q
TCREATOR
_UTILS_EXPORT
Core
::
Utils
::
ReloadPromptAnswer
Core
::
Utils
::
reloadPrompt
(
const
QString
&
fileName
,
QWidget
*
parent
)
{
return
reloadPrompt
(
QObject
::
tr
(
"File Changed"
),
...
...
@@ -42,7 +42,7 @@ QWORKBENCH_UTILS_EXPORT Core::Utils::ReloadPromptAnswer
parent
);
}
Q
WORKBENCH
_UTILS_EXPORT
Core
::
Utils
::
ReloadPromptAnswer
Q
TCREATOR
_UTILS_EXPORT
Core
::
Utils
::
ReloadPromptAnswer
Core
::
Utils
::
reloadPrompt
(
const
QString
&
title
,
const
QString
&
prompt
,
QWidget
*
parent
)
{
switch
(
QMessageBox
::
question
(
parent
,
title
,
prompt
,
...
...
src/libs/utils/reloadpromptutils.h
View file @
c757c3f4
...
...
@@ -42,8 +42,8 @@ namespace Utils {
enum
ReloadPromptAnswer
{
ReloadCurrent
,
ReloadAll
,
ReloadSkipCurrent
,
ReloadNone
};
Q
WORKBENCH
_UTILS_EXPORT
ReloadPromptAnswer
reloadPrompt
(
const
QString
&
fileName
,
QWidget
*
parent
);
Q
WORKBENCH
_UTILS_EXPORT
ReloadPromptAnswer
reloadPrompt
(
const
QString
&
title
,
const
QString
&
prompt
,
QWidget
*
parent
);
Q
TCREATOR
_UTILS_EXPORT
ReloadPromptAnswer
reloadPrompt
(
const
QString
&
fileName
,
QWidget
*
parent
);
Q
TCREATOR
_UTILS_EXPORT
ReloadPromptAnswer
reloadPrompt
(
const
QString
&
title
,
const
QString
&
prompt
,
QWidget
*
parent
);
}
// namespace Utils
}
// namespace Core
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment