You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
132 lines
3.8 KiB
132 lines
3.8 KiB
13 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
12 years ago
|
// module tdefile version KDE 3.5.3
|
||
13 years ago
|
|
||
|
|
||
|
// This software is free software; you can redistribute it and/or
|
||
|
// modify it under the terms of the GNU General Public License as
|
||
|
// published by the Free Software Foundation; either version 2 of
|
||
|
// the License, or (at your option) any later version.
|
||
|
//
|
||
|
// This software is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public
|
||
|
// License along with this library; see the file COPYING.
|
||
|
// If not, write to the Free Software Foundation, Inc.,
|
||
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
|
|
||
|
class KIconCanvas : KIconView
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <kicondialog.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
13 years ago
|
KIconCanvas (TQWidget* /TransferThis/ = 0, const char* = 0);
|
||
|
void loadFiles (const TQStringList&);
|
||
|
TQString getCurrent ();
|
||
13 years ago
|
|
||
|
public slots:
|
||
|
void stopLoading ();
|
||
|
|
||
|
signals:
|
||
13 years ago
|
//ig void nameChanged (TQString);
|
||
13 years ago
|
void startLoading (int);
|
||
|
void progress (int);
|
||
|
void finished ();
|
||
|
|
||
|
protected:
|
||
|
//igx virtual void virtual_hook (int, void*);
|
||
|
|
||
|
}; // class KIconCanvas
|
||
|
|
||
|
|
||
|
class KIconDialog : KDialogBase
|
||
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <kicondialog.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
13 years ago
|
KIconDialog (TQWidget* /TransferThis/ = 0, const char* = 0);
|
||
|
KIconDialog (KIconLoader*, TQWidget* /TransferThis/ = 0, const char* = 0);
|
||
13 years ago
|
void setStrictIconSize (bool);
|
||
|
bool strictIconSize () const;
|
||
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
13 years ago
|
void setCustomLocation (const TQString&);
|
||
13 years ago
|
%End
|
||
|
|
||
|
void setIconSize (int);
|
||
|
int iconSize () const;
|
||
13 years ago
|
TQString selectIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0);
|
||
13 years ago
|
void setup (KIcon::Group, KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0);
|
||
|
|
||
|
%If ( KDE_3_3_0 - )
|
||
|
void setup (KIcon::Group, KIcon::Context, bool, int, bool, bool, bool);
|
||
|
%End
|
||
|
|
||
13 years ago
|
TQString openDialog ();
|
||
13 years ago
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
|
void showDialog ();
|
||
|
%End
|
||
|
|
||
13 years ago
|
static TQString getIcon (KIcon::Group = KIcon ::Desktop , KIcon::Context = KIcon ::Application , bool = 0, int = 0, bool = 0, TQWidget* /Transfer/ = 0, const TQString& = TQString ::null );
|
||
13 years ago
|
|
||
|
signals:
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
void newIconName (const TQString&);
|
||
13 years ago
|
%End
|
||
|
|
||
|
|
||
|
protected slots:
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
|
void slotOk ();
|
||
|
%End
|
||
|
|
||
|
|
||
|
protected:
|
||
|
//igx virtual void virtual_hook (int, void*);
|
||
|
|
||
|
}; // class KIconDialog
|
||
|
|
||
|
|
||
13 years ago
|
class KIconButton : TQPushButton
|
||
13 years ago
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <kicondialog.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
13 years ago
|
KIconButton (TQWidget* /TransferThis/ = 0, const char* = 0);
|
||
|
KIconButton (KIconLoader*, TQWidget* /TransferThis/, const char* = 0);
|
||
13 years ago
|
void setStrictIconSize (bool);
|
||
|
bool strictIconSize () const;
|
||
|
void setIconType (KIcon::Group, KIcon::Context, bool = 0);
|
||
13 years ago
|
void setIcon (const TQString&);
|
||
13 years ago
|
void resetIcon ();
|
||
13 years ago
|
const TQString icon ();
|
||
13 years ago
|
void setIconSize (int);
|
||
|
int iconSize () const;
|
||
|
|
||
|
signals:
|
||
13 years ago
|
//ig void iconChanged (TQString);
|
||
13 years ago
|
|
||
|
}; // class KIconButton
|
||
|
|